From 1d4319be2eec0d91bcffc42e6ae452c45aab20c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Sun, 6 Sep 2015 14:49:56 +0200 Subject: [PATCH] CLI: Additional source path cleanup (close #152) --- kcc/comic2ebook.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index 4f27f68..0fc3db7 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -66,6 +66,7 @@ def main(argv=None): print('No matching files found.') return for source in sources: + source = source.rstrip('\\').rstrip('/') options = copy(optionstemplate) checkOptions() if len(sources) > 1: