From 458bca90c52deb82a1845712008ffb66bb51249f Mon Sep 17 00:00:00 2001 From: Aaditya Bagga Date: Sat, 13 Dec 2014 21:58:54 +0530 Subject: [PATCH] forgot to return on error --- bin/pdf2png.py | 1 + 1 file changed, 1 insertion(+) 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