mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-04-15 14:13:31 -07:00
LttPClient: prevent crash when trying to access sys.stdin
This commit is contained in:
@@ -920,7 +920,7 @@ async def main():
|
||||
meta, romfile = Patch.create_rom_file(args.diff_file)
|
||||
args.connect = meta["server"]
|
||||
logging.info(f"Wrote rom file to {romfile}")
|
||||
adjustedromfile, adjusted = Utils.get_adjuster_settings(romfile)
|
||||
adjustedromfile, adjusted = Utils.get_adjuster_settings(romfile, gui_enabled)
|
||||
if adjusted:
|
||||
try:
|
||||
shutil.move(adjustedromfile, romfile)
|
||||
|
||||
Reference in New Issue
Block a user