mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-04 18:40:51 +02:00
Fix for PI - eFiction Base adapter Anthology Series string
This commit is contained in:
parent
6f7453c50a
commit
9b42bec08a
1 changed files with 4 additions and 1 deletions
|
|
@ -2067,7 +2067,10 @@ class FanFictionDownLoaderPlugin(InterfaceAction):
|
|||
# copy list top level
|
||||
for b in book_list:
|
||||
if b['series']:
|
||||
serieslist.append(b['series'][:b['series'].index(" [")])
|
||||
try:
|
||||
serieslist.append(b['series'][:b['series'].index(" [")])
|
||||
except ValueError: # substring not found
|
||||
serieslist.append(b['series'])
|
||||
#print("book series:%s"%serieslist[-1])
|
||||
|
||||
if b['publisher']:
|
||||
|
|
|
|||
Loading…
Reference in a new issue