diff options
author | Joseph <powderflask@gmail.com> | 2015-11-26 12:59:46 -0800 |
---|---|---|
committer | Joseph <powderflask@gmail.com> | 2015-11-26 12:59:46 -0800 |
commit | 09eaeef0ae73bbc57b2faebb7c402e4dec45e0e3 (patch) | |
tree | e4e0b1340f55c194d92a647fdffc34f8416fac57 /wkhtmltopdf/utils.py | |
parent | 8e678c6d3b7421f62e109973c169a91f6ddb9e9b (diff) | |
download | django-wkhtmltopdf-09eaeef0ae73bbc57b2faebb7c402e4dec45e0e3.tar.gz django-wkhtmltopdf-09eaeef0ae73bbc57b2faebb7c402e4dec45e0e3.tar.bz2 django-wkhtmltopdf-09eaeef0ae73bbc57b2faebb7c402e4dec45e0e3.zip |
Update utils.py
Diffstat (limited to 'wkhtmltopdf/utils.py')
-rw-r--r-- | wkhtmltopdf/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wkhtmltopdf/utils.py b/wkhtmltopdf/utils.py index 772be9b..b5df681 100644 --- a/wkhtmltopdf/utils.py +++ b/wkhtmltopdf/utils.py @@ -98,7 +98,7 @@ def wkhtmltopdf(pages, output=None, **kwargs): try: i = sys.stderr.fileno() ck_kwargs['stderr'] = sys.stderr - except AttributeError, IOError: + except (AttributeError, IOError): # can't call fileno() on mod_wsgi stderr object pass |