diff options
Diffstat (limited to 'wkhtmltopdf/utils.py')
-rw-r--r-- | wkhtmltopdf/utils.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/wkhtmltopdf/utils.py b/wkhtmltopdf/utils.py index 079d165..24058d7 100644 --- a/wkhtmltopdf/utils.py +++ b/wkhtmltopdf/utils.py @@ -99,13 +99,6 @@ def wkhtmltopdf(pages, output=None, **kwargs): list(pages), [output])) ck_kwargs = {'env': env} - # Handling of fileno() attr. based on https://github.com/GrahamDumpleton/mod_wsgi/issues/85 - try: - i = sys.stderr.fileno() - ck_kwargs['stderr'] = sys.stderr - except (AttributeError, IOError): - # can't call fileno() on mod_wsgi stderr object - pass return check_output(ck_args, **ck_kwargs) |