mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 12:36:11 +02:00
Plugin-Fix setting status column with no status available(fictionalley).
This commit is contained in:
parent
6f4be261ef
commit
7f7a1a983c
1 changed files with 2 additions and 1 deletions
|
|
@ -793,7 +793,8 @@ make_firstimage_cover:true
|
|||
print("%s not an existing column, skipping."%col)
|
||||
continue
|
||||
coldef = custom_columns[col]
|
||||
if not meta.startswith('status-') and meta not in book['all_metadata']:
|
||||
if not meta.startswith('status-') and meta not in book['all_metadata'] or \
|
||||
meta.startswith('status-') and 'status' not in book['all_metadata']:
|
||||
print("No value for %s, skipping."%meta)
|
||||
continue
|
||||
if meta not in permitted_values[coldef['datatype']]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue