mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-09 11:14:08 +08:00
Don't errorif authorUrl list shorter than author list, use no_author_link. For test1.com.
This commit is contained in:
+4
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user