Update EditionTracking.py to not throw encoding errors

This commit is contained in:
Krazy
2017-04-28 02:45:56 +00:00
parent 6ee76ecbb9
commit c0524fdb75

View File

@@ -63,7 +63,7 @@ def initializeOracleText():
print "Need to download Json file..."
r = requests.get(allJsonUrl)
with open(allJson, 'w') as f:
f.write(r.text)
f.write(r.text.encode("utf-8"))
oracleDict = r.json()