mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-19 21:25:30 +00:00
Fix for #2980 (invalid seriesindex causes no longer a crash)
This commit is contained in:
parent
898e76fc37
commit
b9c329535d
@ -124,7 +124,7 @@ def formatseriesindex_filter(series_index):
|
||||
return int(series_index)
|
||||
else:
|
||||
return series_index
|
||||
except ValueError:
|
||||
except (ValueError, TypeError):
|
||||
return series_index
|
||||
return 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user