Improve error message.
This commit is contained in:
parent
7a70cd79ca
commit
1f1a5f2b3c
1 changed files with 2 additions and 2 deletions
|
@ -140,9 +140,9 @@ def get_scraper(comic):
|
|||
return candidates[0]
|
||||
elif candidates:
|
||||
comics = ", ".join(x.get_name() for x in candidates)
|
||||
raise ValueError('Multiple comics %s found.' % comics)
|
||||
raise ValueError('Multiple comics found: %s' % comics)
|
||||
else:
|
||||
raise ValueError('Comic %r not found.' % comic)
|
||||
raise ValueError('Comic %r not found' % comic)
|
||||
|
||||
|
||||
_scrapers = None
|
||||
|
|
Loading…
Reference in a new issue