Liam Dyer commited on
Commit
a954cfa
1 Parent(s): 9a1c39c
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -64,9 +64,7 @@ def convert_pandoc(input_file, filename):
64
 
65
  # Convert the file to markdown with pandoc
66
  output_file = f"{random_word(16)}.md"
67
- result = subprocess.call(
68
- ["pandoc", input_file, "-t", "markdown", "-o", output_file]
69
- )
70
  if result != 0:
71
  raise ValueError("Error converting file to markdown with pandoc")
72
 
 
64
 
65
  # Convert the file to markdown with pandoc
66
  output_file = f"{random_word(16)}.md"
67
+ result = subprocess.call(["pandoc", filename, "-t", "markdown", "-o", output_file])
 
 
68
  if result != 0:
69
  raise ValueError("Error converting file to markdown with pandoc")
70