Spaces:
Sleeping
Sleeping
fix f string quote - pdf_to_md.py", line 241
Browse filesreturn f"β {info.get("file")} β {exc}\n{tb}"
- converters/pdf_to_md.py +1 -1
converters/pdf_to_md.py
CHANGED
|
@@ -238,7 +238,7 @@ class PdfToMarkdownConverter:
|
|
| 238 |
except Exception as exc:
|
| 239 |
if attempt == max_retries:
|
| 240 |
tb = traceback.format_exc()
|
| 241 |
-
return f"β {info.get(
|
| 242 |
#return f"β {md_filename} β {exc}\n{tb}"
|
| 243 |
|
| 244 |
#time.sleep(2 ** attempt)
|
|
|
|
| 238 |
except Exception as exc:
|
| 239 |
if attempt == max_retries:
|
| 240 |
tb = traceback.format_exc()
|
| 241 |
+
return f"β {info.get('file')} β {exc}\n{tb}"
|
| 242 |
#return f"β {md_filename} β {exc}\n{tb}"
|
| 243 |
|
| 244 |
#time.sleep(2 ** attempt)
|