diff --git a/bin/pdf2png.py b/bin/pdf2png.py index efb44f3..a1e26f7 100755 --- a/bin/pdf2png.py +++ b/bin/pdf2png.py @@ -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