mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-26 13:22:57 -04:00
remove the 'json.read = json.loads' hack
There's no good reason to use json.read anymore, even in the case of jython.
This commit is contained in:
@@ -17,10 +17,6 @@ import string
|
||||
if not hasattr(json, "dumps"):
|
||||
json.dumps = json.write
|
||||
|
||||
# New versions of json don't have read anymore.
|
||||
if not hasattr(json, "read"):
|
||||
json.read = json.loads
|
||||
|
||||
from labels import (
|
||||
remove_quoted_text,
|
||||
line_has_comment_address,
|
||||
|
||||
Reference in New Issue
Block a user