Skip to content

Commit

Permalink
forgot to return on error
Browse files Browse the repository at this point in the history
  • Loading branch information
abchk1234 committed Dec 13, 2014
1 parent c7634fe commit 458bca9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/pdf2png.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def pdf_to_img(self, chooser_dialog, pdffilepath):
dialog2.format_secondary_text("{0}".format(err))
dialog2.run()
dialog2.destroy()
return
# The output is in the form of page1, page2, .., even though input pages may have been from 3 to 5
# So we move the output pages in terms of input ones
# Pages are renamed in reverse order so they do not overlap
Expand Down

0 comments on commit 458bca9

Please sign in to comment.