Skip to content

Commit 2d97a31

Browse files
committed
use std bin for heroku, delete custom bin
1 parent 19ba23e commit 2d97a31

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pydf/bin/wkhtmltopdf-heroku

-44.5 MB
Binary file not shown.

pydf/wkhtmltopdf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ def execute_wk(*args):
1313
:return: stdout, stderr
1414
"""
1515
this_dir = os.path.dirname(__file__)
16-
on_heroku = 'DYNO' in os.environ
17-
wk_name = 'wkhtmltopdf-heroku' if on_heroku else 'wkhtmltopdf'
16+
wk_name = 'wkhtmltopdf'
1817
wkhtmltopdf_default = os.path.join(this_dir, 'bin', wk_name)
1918
# Reference command
2019
wkhtmltopdf_cmd = os.environ.get('WKHTMLTOPDF_CMD', wkhtmltopdf_default)

0 commit comments

Comments
 (0)