diff --git a/feed.py b/feed.py index ccbc179..c2fd1d8 100644 --- a/feed.py +++ b/feed.py @@ -97,7 +97,7 @@ def feedgen(local=False): except: filewrite.write("/".join(origread.fandom)) try: - filewrite.write(", " + origread.ship[0]) + filewrite.write(", " + origread.ship[0].replace("/"," × ")) except: try: filewrite.write(", " + ", ".join(origread.charpov)) @@ -131,7 +131,7 @@ def feedgen(local=False): except: filewrite.write("/".join(thefile.fandom)) try: - filewrite.write(", " + thefile.ship[0]) + filewrite.write(", " + thefile.ship[0].replace("/"," × ")) except: try: filewrite.write(", " + ", ".join(thefile.charpov)) diff --git a/ships.py b/ships.py index 0b15b0e..eb0c5e7 100644 --- a/ships.py +++ b/ships.py @@ -91,7 +91,7 @@ def shiplist(local=False): # write details element output = "build/ff/ships/index.html" filewrite = open(output, "a") - filewrite.write("
" + ship + " ") + filewrite.write("
" + ship.replace("/"," × ") + " ") # write statistics if len(maincount) > 0: filewrite.write(" main: " + str(len(maincount)) + "") diff --git a/statsgen.py b/statsgen.py index 590c8a8..3313e3b 100644 --- a/statsgen.py +++ b/statsgen.py @@ -39,7 +39,7 @@ def ficsum(ficcount,year,month=0,showfandom=True,local=False): if "OW" not in origfile.fandom: if "gen" not in origfile.genre: try: - thechars = origfile.ship[0] + thechars = origfile.ship[0].replace("/"," × ") except: chars = [] try: @@ -74,7 +74,7 @@ def ficsum(ficcount,year,month=0,showfandom=True,local=False): if "OW" not in fileread.fandom: if "gen" not in fileread.genre: try: - thechars = fileread.ship[0] + thechars = fileread.ship[0].replace("/"," × ") except: chars = [] try: