Skip to content

Commit

Permalink
Fixed pdfkit dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Jul 13, 2021
1 parent 264dcd1 commit f8f9824
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mgz2lut_report/mgz2lut_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ def run(self, options):
# when input is a html
for asset_file in files('mgz2lut_report').joinpath('assets').iterdir():
os.symlink(asset_file, os.path.join('/tmp', asset_file.name))
os.symlink(report_path, os.path.join('/tmp', options.report_name + '.pdf'))
pdfkit.from_file("report.html",report_path)
continue;
for k in sorted(counter.keys()):
Expand Down

0 comments on commit f8f9824

Please sign in to comment.