mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-26 10:47:14 +01:00
Don't errorif authorUrl list shorter than author list, use no_author_link. For test1.com.
This commit is contained in:
parent
9993836eca
commit
5261decb02
1 changed files with 4 additions and 1 deletions
|
|
@ -682,7 +682,10 @@ class Story(Configurable):
|
|||
if self.isList('author'): # more than one author, assume multiple authorUrl too.
|
||||
htmllist=[]
|
||||
for i, v in enumerate(self.getList('author')):
|
||||
aurl = self.getList('authorUrl')[i]
|
||||
if len(self.getList('authorUrl')) <= i:
|
||||
aurl = "no_author_link"
|
||||
else:
|
||||
aurl = self.getList('authorUrl')[i]
|
||||
auth = v
|
||||
# make sure doreplacements & removeallentities are honored.
|
||||
if doreplacements:
|
||||
|
|
|
|||
Loading…
Reference in a new issue