log enemizer errors if present

This commit is contained in:
Fabian Dill 2020-07-05 02:41:42 +02:00
parent a45ae5deaf
commit 78dd0d4280
1 changed files with 1 additions and 1 deletions

2
Rom.py
View File

@ -245,7 +245,7 @@ def patch_enemizer(world, player: int, rom: LocalRom, enemizercli, random_sprite
'--binary',
'--enemizer', options_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)
os.remove(enemizer_output_path)