mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-15 21:32:28 +01:00
Anthologies don't need per-story config(custom_columns_settings)
This commit is contained in:
parent
f25ed9efbb
commit
77d35d88c7
1 changed files with 5 additions and 1 deletions
|
|
@ -2329,7 +2329,11 @@ class FanFicFarePlugin(InterfaceAction):
|
|||
|
||||
configuration = None
|
||||
if prefs['allow_custcol_from_ini']:
|
||||
configuration = get_fff_adapter(book['url'],options['fileform']).get_configuration()
|
||||
if book['all_metadata'].get('anthology',False):
|
||||
# Anthologies don't need per-story config
|
||||
configuration = get_fff_config(book['url'],options['fileform'])
|
||||
else:
|
||||
configuration = get_fff_adapter(book['url'],options['fileform']).get_configuration()
|
||||
# meta => custcol[,a|n|r|n_anthaver,r_anthaver]
|
||||
# cliches=>\#acolumn,r
|
||||
for line in configuration.getConfig('custom_columns_settings').splitlines():
|
||||
|
|
|
|||
Loading…
Reference in a new issue