mirror of https://github.com/zeldaret/botw.git
tools: Fix Python 3.6 compatibility
This commit is contained in:
parent
cf50531807
commit
a344367b01
|
@ -23,7 +23,7 @@ config: dict = dict()
|
|||
diff_settings.apply(config, {})
|
||||
myimg: str = config["myimg"]
|
||||
|
||||
entries = [x.strip().split() for x in subprocess.check_output(["nm", myimg], text=True).split("\n")]
|
||||
entries = [x.strip().split() for x in subprocess.check_output(["nm", myimg], universal_newlines=True).split("\n")]
|
||||
|
||||
for entry in entries:
|
||||
if len(entry) == 3:
|
||||
|
|
Loading…
Reference in New Issue