- EditionTracking can handle cards with or without a collector number when tabulating

This commit is contained in:
Sol
2016-02-20 22:53:24 +00:00
parent 3c07bfb659
commit 9f61109e54

View File

@@ -43,8 +43,7 @@ def initializeEditions():
else:
if line:
if hasSetNumbers is None:
hasSetNumbers = line.split(" ", 1)[0].isdigit()
hasSetNumbers = line.split(" ", 1)[0].isdigit()
card = line.split(" ", 2 if hasSetNumbers else 1)[-1].rstrip()
if card not in mtgDataCards: