|
|
|
@ -40,8 +40,20 @@ def ficsum(ficcount,year,month=0,showfandom=True,local=False):
|
|
|
|
|
if "gen" not in origfile.genre:
|
|
|
|
|
try:
|
|
|
|
|
thechars = origfile.ship[0]
|
|
|
|
|
except:
|
|
|
|
|
chars = []
|
|
|
|
|
try:
|
|
|
|
|
chars.extend(origfile.charpov)
|
|
|
|
|
except:
|
|
|
|
|
pass
|
|
|
|
|
try:
|
|
|
|
|
chars.extend(origfile.charmain)
|
|
|
|
|
except:
|
|
|
|
|
pass
|
|
|
|
|
if chars != []:
|
|
|
|
|
thechars = ", ".join(chars)
|
|
|
|
|
else:
|
|
|
|
|
thechars = ""
|
|
|
|
|
else:
|
|
|
|
|
chars = []
|
|
|
|
|
try:
|
|
|
|
@ -63,8 +75,20 @@ def ficsum(ficcount,year,month=0,showfandom=True,local=False):
|
|
|
|
|
if "gen" not in fileread.genre:
|
|
|
|
|
try:
|
|
|
|
|
thechars = fileread.ship[0]
|
|
|
|
|
except:
|
|
|
|
|
chars = []
|
|
|
|
|
try:
|
|
|
|
|
chars.extend(fileread.charpov)
|
|
|
|
|
except:
|
|
|
|
|
pass
|
|
|
|
|
try:
|
|
|
|
|
chars.extend(fileread.charmain)
|
|
|
|
|
except:
|
|
|
|
|
pass
|
|
|
|
|
if chars != []:
|
|
|
|
|
thechars = ", ".join(chars)
|
|
|
|
|
else:
|
|
|
|
|
thechars = ""
|
|
|
|
|
else:
|
|
|
|
|
chars = []
|
|
|
|
|
try:
|
|
|
|
|