mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
Update EditionTracking for new Edition file things
This commit is contained in:
@@ -46,8 +46,11 @@ def initializeEditions():
|
||||
metadata = True
|
||||
continue
|
||||
|
||||
if line.startswith("#"):
|
||||
continue
|
||||
|
||||
if line:
|
||||
hasSetNumbers = line.split(" ", 1)[0].isdigit()
|
||||
hasSetNumbers = line[0].isdigit()
|
||||
|
||||
card = line.split(" ", 2 if hasSetNumbers else 1)[-1].rstrip()
|
||||
if card not in mtgDataCards:
|
||||
|
||||
Reference in New Issue
Block a user