Skip to content

Commit 403788c

Browse files
committed
Use elif
1 parent 4e1102b commit 403788c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

worlds/_bizhawk/context.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,7 @@ async def main():
261261
args.name = urllib.parse.unquote(url.username)
262262
if url.password:
263263
args.password = urllib.parse.unquote(url.password)
264-
args.patch_file = ""
265-
266-
if args.patch_file != "":
264+
elif args.patch_file != "":
267265
metadata = _patch_and_run_game(args.patch_file)
268266
if "server" in metadata:
269267
args.connect = metadata["server"]

0 commit comments

Comments
 (0)