log enemizer errors if present
This commit is contained in:
parent
a45ae5deaf
commit
78dd0d4280
2
Rom.py
2
Rom.py
|
@ -245,7 +245,7 @@ def patch_enemizer(world, player: int, rom: LocalRom, enemizercli, random_sprite
|
||||||
'--binary',
|
'--binary',
|
||||||
'--enemizer', options_path,
|
'--enemizer', options_path,
|
||||||
'--output', enemizer_output_path],
|
'--output', enemizer_output_path],
|
||||||
cwd=os.path.dirname(enemizercli), stdout=subprocess.DEVNULL)
|
cwd=os.path.dirname(enemizercli))
|
||||||
rom.read_from_file(enemizer_output_path)
|
rom.read_from_file(enemizer_output_path)
|
||||||
os.remove(enemizer_output_path)
|
os.remove(enemizer_output_path)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue