Moved formats into separate folder so that additional custom format files can be added - added Pauper and Kaladesh_Standard as examples

This commit is contained in:
austinio7116
2018-03-30 07:49:54 +01:00
committed by maustin
parent 3ea9f7d218
commit 9082a89c59
6 changed files with 20 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ pathToMtgData = os.path.join(toolsDir, "mtg-data.txt")
def initializeFormats():
formats = {}
formatLocation = os.path.join(resDir, 'blockdata', 'formats.txt')
formatLocation = os.path.join(resDir, 'formats', 'coreformats.txt')
print "Looking for formats in ", formatLocation
with open(formatLocation) as formatFile:
while formatFile: