Yaz Hobooti
commited on
Commit
·
0f0c5dd
1
Parent(s):
804bf93
Fix syntax error: correct indentation of except block
Browse files- pdf_comparator.py +1 -1
pdf_comparator.py
CHANGED
|
@@ -333,7 +333,7 @@ def compare_pdfs(file_a, file_b):
|
|
| 333 |
|
| 334 |
return overlay, a_disp, b_disp, status, codes_a, codes_b
|
| 335 |
|
| 336 |
-
|
| 337 |
error_msg = f"❌ **Error:** {str(e)}"
|
| 338 |
return None, None, None, error_msg, [], []
|
| 339 |
|
|
|
|
| 333 |
|
| 334 |
return overlay, a_disp, b_disp, status, codes_a, codes_b
|
| 335 |
|
| 336 |
+
except Exception as e:
|
| 337 |
error_msg = f"❌ **Error:** {str(e)}"
|
| 338 |
return None, None, None, error_msg, [], []
|
| 339 |
|