SNIClient: fix apsoe handling

This commit is contained in:
Fabian Dill
2021-12-01 01:01:41 +01:00
parent 49a0f473ce
commit d7509972e4
4 changed files with 13 additions and 2 deletions

View File

@@ -1062,7 +1062,8 @@ async def main():
import Patch
logging.info("Patch file was supplied. Creating sfc rom..")
meta, romfile = Patch.create_rom_file(args.diff_file)
args.connect = meta["server"]
if "server" in meta:
args.connect = meta["server"]
logging.info(f"Wrote rom file to {romfile}")
if args.diff_file.endswith(".apsoe"):
import webbrowser