diff --git a/ships.py b/ships.py index e196252..3ee5dbb 100644 --- a/ships.py +++ b/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)}