mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
5d32694762
commit
bc4e4e23d9
@ -204,7 +204,7 @@ class CustomColumns(object):
|
||||
for x in set(set_val) - set(existing):
|
||||
if x is None:
|
||||
continue
|
||||
existing = self.all_custom(num=data['num'])
|
||||
existing = list(self.all_custom(num=data['num']))
|
||||
lx = [t.lower() if hasattr(t, 'lower') else t for t in existing]
|
||||
try:
|
||||
idx = lx.index(x.lower() if hasattr(x, 'lower') else x)
|
||||
|
Loading…
x
Reference in New Issue
Block a user