Add support for secondary ships with no main ship

master
trémeur 2 years ago
parent 1957f92f2c
commit c10e39197c

@ -35,6 +35,9 @@ def shiplist(local=False):
theships.extend(fileread.ship)
except:
pass
for ship in theships:
if ship == None:
theships.remove(ship)
theships = sorted(list(dict.fromkeys(theships)))
for ship in theships:
shipdict = {"pairing":ship,"game":(fffandoms.index(fandom) + 1)}

Loading…
Cancel
Save