Add support for secondary ships with no main ship
This commit is contained in:
parent
1957f92f2c
commit
c10e39197c
1 changed files with 3 additions and 0 deletions
3
ships.py
3
ships.py
|
@ -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…
Add table
Add a link
Reference in a new issue