mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-31 09:34:36 +01:00
IGN:...
This commit is contained in:
commit
5f35e863e6
1 changed files with 2 additions and 2 deletions
|
|
@ -134,12 +134,12 @@ def metadata_from_filename(name, pat=None):
|
|||
try:
|
||||
si = match.group('series_index')
|
||||
mi.series_index = int(si)
|
||||
except IndexError, ValueError:
|
||||
except (IndexError, ValueError):
|
||||
pass
|
||||
try:
|
||||
si = match.group('isbn')
|
||||
mi.isbn = si
|
||||
except IndexError, ValueError:
|
||||
except (IndexError, ValueError):
|
||||
pass
|
||||
if not mi.title:
|
||||
mi.title = name
|
||||
|
|
|
|||
Loading…
Reference in a new issue