aboutsummaryrefslogtreecommitdiff
path: root/mkbinder.py
diff options
context:
space:
mode:
authorAnthony Wang2020-12-13 21:29:11 -0600
committerAnthony Wang2020-12-13 21:29:11 -0600
commitb3c54c7abb1ecc6791ff9efaa741764501d56648 (patch)
tree4723c7b351538d4b426c6a6e3b065a7ab719cee8 /mkbinder.py
parent465eeb0a1d6ac17ff0eb3550de88a0ec5dd26cf0 (diff)
Handle exceptions better
Diffstat (limited to 'mkbinder.py')
-rwxr-xr-xmkbinder.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mkbinder.py b/mkbinder.py
index 282c8cd..19a6866 100755
--- a/mkbinder.py
+++ b/mkbinder.py
@@ -62,8 +62,7 @@ for filename in os.listdir("."):
pdf = weasyprint.HTML(link).write_pdf()
open(name, 'wb').write(pdf)
except:
- # Ignore exceptions
- # Probably not a good idea
+ print("Error when printing")
pass