about summary refs log tree commit diff
path: root/kindlecomicconverter/KCC_gui.py
diff options
context:
space:
mode:
authorCarlos Rosa <gokuroro@gmail.com>2018-04-04 11:05:13 -0300
committerCarlos Rosa <gokuroro@gmail.com>2018-04-04 11:05:13 -0300
commit2591b53a0905944263c39a22a0816024b2370c68 (patch)
tree0179f23af16cd80f5a1afe9b4306d3584517aab5 /kindlecomicconverter/KCC_gui.py
parentMake format checking more straightforward (diff)
downloadkcc-2591b53a0905944263c39a22a0816024b2370c68.tar.gz
kcc-2591b53a0905944263c39a22a0816024b2370c68.tar.bz2
kcc-2591b53a0905944263c39a22a0816024b2370c68.zip
Make file type error more informative (display file name)
Diffstat (limited to '')
-rw-r--r--kindlecomicconverter/KCC_gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py
index 48b3dd5..d3e6f10 100644
--- a/kindlecomicconverter/KCC_gui.py
+++ b/kindlecomicconverter/KCC_gui.py
@@ -815,7 +815,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
             formats = ['.cbz', '.zip', '.pdf']
             if self.UnRAR:
                 formats.extend(['.cbr', '.rar'])
-                if self.sevenza:
+            if self.sevenza:
                 formats.extend(['.cb7', '.7z'])
             if os.path.isdir(message):
                 GUI.jobList.addItem(message)
@@ -826,7 +826,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
                     GUI.jobList.addItem(message)
                     GUI.jobList.scrollToBottom()
                 else:
-                    self.addMessage('This file type is unsupported!', 'error')
+                    self.addMessage('Unsupported file type for ' + message, 'error')
 
     def dragAndDrop(self, e):
         e.accept()