From 06b64b39de411a80e2fbe013c1ec52c3dc604d17 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 24 Jun 2011 20:19:18 -0600 Subject: [PATCH] ... --- src/calibre/ebooks/comic/input.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/calibre/ebooks/comic/input.py b/src/calibre/ebooks/comic/input.py index 5203e3698d..f6833ca197 100755 --- a/src/calibre/ebooks/comic/input.py +++ b/src/calibre/ebooks/comic/input.py @@ -351,7 +351,9 @@ class ComicInput(InputFormatPlugin): comics = [] with CurrentDir(tdir): if not os.path.exists('comics.txt'): - raise ValueError('%s is not a valid comic collection' + raise ValueError(( + '%s is not a valid comic collection' + ' no comics.txt was found in the file') %stream.name) raw = open('comics.txt', 'rb').read() if raw.startswith(codecs.BOM_UTF16_BE):