mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
When bulk editing custom series-type columns and not provding a series number use 1 as the default, instead of None
This commit is contained in:
commit
605c97767d
@ -532,6 +532,8 @@ class CustomColumns(object):
|
||||
|
||||
if data['datatype'] == 'series' and extra is None:
|
||||
(val, extra) = self._get_series_values(val)
|
||||
if extra is None:
|
||||
extra = 1.0
|
||||
|
||||
books_to_refresh = set([])
|
||||
if data['normalized']:
|
||||
|
Loading…
x
Reference in New Issue
Block a user