mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-21 23:23:24 -07:00
simplify tuple conversion check
This commit is contained in:
@@ -358,8 +358,7 @@ def run_server_process(name: str, ponyconfig: dict, static_server_data: dict,
|
||||
del resource, file_limit
|
||||
|
||||
# convert to tuple because its hashable
|
||||
if not isinstance(game_ports, tuple):
|
||||
game_ports = tuple(game_ports)
|
||||
game_ports = tuple(game_ports)
|
||||
|
||||
# establish DB connection for multidata and multisave
|
||||
db.bind(**ponyconfig)
|
||||
|
||||
Reference in New Issue
Block a user