mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 23:22:44 +01:00
fix: interpolate client args
This commit is contained in:
1 parent
5e0e6e4592
commit
3857b69b70
2 files changed
+7
-4
No files matched your search
@@ -246,7 +246,8 @@ class ConnectionManager:
|
||||
def _connect_steam(self) -> None:
|
||||
addr = f"{self.record.ip}:{self.record.gameport}"
|
||||
playername = self.controller.query_config(Preferences.NAME)
|
||||
rc = connect(addr, self.appid, playername, self.remote_mod_ids)
|
||||
client = self.controller.query_config(Preferences.CLIENT)
|
||||
rc = connect(client, addr, self.appid, playername, self.remote_mod_ids)
|
||||
if rc != 0:
|
||||
# TODO: log/pop the error
|
||||
func = StoredFunc(self.controller.update_status)
|
||||
|
||||
Reference in new issue
Block a user