mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 09:48:02 +00:00
Update EditionTracking.py to not throw encoding errors
This commit is contained in:
@@ -63,7 +63,7 @@ def initializeOracleText():
|
|||||||
print "Need to download Json file..."
|
print "Need to download Json file..."
|
||||||
r = requests.get(allJsonUrl)
|
r = requests.get(allJsonUrl)
|
||||||
with open(allJson, 'w') as f:
|
with open(allJson, 'w') as f:
|
||||||
f.write(r.text)
|
f.write(r.text.encode("utf-8"))
|
||||||
|
|
||||||
oracleDict = r.json()
|
oracleDict = r.json()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user