mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Merge branch 'fix-edition-tracking' into 'master'
Update EditionTracking for new Edition file things See merge request core-developers/forge!2626
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