Skip to content

Commit

Permalink
Merge pull request #28 from /issues/26
Browse files Browse the repository at this point in the history
Issues/26
  • Loading branch information
cccs-rs committed Dec 12, 2022
2 parents f6c1523 + 8d5efb6 commit a5ae5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion document_preview/document_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def execute(self, request):
result = Result()

# Attempt to render documents given and dump them to the working directory
max_pages = request.get_param('max_pages_rendered')
max_pages = int(request.get_param('max_pages_rendered'))
try:
self.render_documents(request, max_pages)
except Exception as e:
Expand Down

0 comments on commit a5ae5dc

Please sign in to comment.