diff options
author | Anthony Wang | 2020-12-13 21:29:11 -0600 |
---|---|---|
committer | Anthony Wang | 2020-12-13 21:29:11 -0600 |
commit | b3c54c7abb1ecc6791ff9efaa741764501d56648 (patch) | |
tree | 4723c7b351538d4b426c6a6e3b065a7ab719cee8 /mkbinder.py | |
parent | 465eeb0a1d6ac17ff0eb3550de88a0ec5dd26cf0 (diff) |
Handle exceptions better
Diffstat (limited to 'mkbinder.py')
-rwxr-xr-x | mkbinder.py | 3 |
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 |