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: