taprosoft
commited on
Commit
·
16e4c39
1
Parent(s):
aa1cb1e
fix: default return
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def convert_document(path, method, enabled=True):
|
|
| 27 |
if enabled:
|
| 28 |
print("Processing file", path, "with method", method)
|
| 29 |
else:
|
| 30 |
-
return "", "", []
|
| 31 |
|
| 32 |
# benchmarking
|
| 33 |
start = time.time()
|
|
|
|
| 27 |
if enabled:
|
| 28 |
print("Processing file", path, "with method", method)
|
| 29 |
else:
|
| 30 |
+
return "", "", "", []
|
| 31 |
|
| 32 |
# benchmarking
|
| 33 |
start = time.time()
|