diff options
author | Carlos Rosa <gokuroro@gmail.com> | 2018-04-04 11:05:13 -0300 |
---|---|---|
committer | Carlos Rosa <gokuroro@gmail.com> | 2018-04-04 11:05:13 -0300 |
commit | 2591b53a0905944263c39a22a0816024b2370c68 (patch) | |
tree | 0179f23af16cd80f5a1afe9b4306d3584517aab5 /kindlecomicconverter/KCC_gui.py | |
parent | Make format checking more straightforward (diff) | |
download | kcc-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.py | 4 |
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() |