mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-10-03 23:44:46 -07:00
simplify tuple conversion check
This commit is contained in:
1 parent
62afec9733
commit
9653c8d29c
1 file changed
+1
-2
@@ -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