🎨 reformat using black
This commit is contained in:
parent
a1ab4c0b5a
commit
1994109507
5 changed files with 70 additions and 53 deletions
|
@ -15,13 +15,18 @@ for filename in tqdm(os.listdir(OUTDIR_MARKDOWN)):
|
|||
|
||||
# Run pandoc command
|
||||
try:
|
||||
subprocess.run([
|
||||
"pandoc",
|
||||
input_path,
|
||||
"-f", "markdown",
|
||||
"-t", "mediawiki",
|
||||
"-o", output_path
|
||||
], check=True)
|
||||
subprocess.run(
|
||||
[
|
||||
"pandoc",
|
||||
input_path,
|
||||
"-f",
|
||||
"markdown",
|
||||
"-t",
|
||||
"mediawiki",
|
||||
"-o",
|
||||
output_path,
|
||||
],
|
||||
check=True,
|
||||
)
|
||||
except subprocess.CalledProcessError as e:
|
||||
print(f"Error converting {filename}: {e}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue