diff options
| author | copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> | 2026-02-11 10:05:44 +0000 |
|---|---|---|
| committer | copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> | 2026-02-11 10:05:44 +0000 |
| commit | 05573b3cd6c77986339a7370c4cc12775b216936 (patch) | |
| tree | bbc559a26c31454db18d5515495f069ecd12194e | |
| parent | ceb342a61b920fed4fbea2fea6e1c437a8272aee (diff) | |
| download | accelerator-installer-05573b3cd6c77986339a7370c4cc12775b216936.tar.gz accelerator-installer-05573b3cd6c77986339a7370c4cc12775b216936.zip | |
Fix code style: improve consistency in send/recv patterns
Co-authored-by: tranch <5999732+tranch@users.noreply.github.com>
| -rw-r--r-- | decky_client.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/decky_client.py b/decky_client.py index 38726ce..f02e490 100644 --- a/decky_client.py +++ b/decky_client.py @@ -305,7 +305,6 @@ async def configure_store_url(store_url: str) -> None: # First, set the store type to 2 (custom) log(f"Setting store type to custom (2)...") await client.send(CALL, "utilities/settings/set", ["store", 2]) - msg = await client.recv() if msg is None: raise RuntimeError("Connection closed by server") @@ -316,11 +315,8 @@ async def configure_store_url(store_url: str) -> None: log(f"Store type set to custom") - # Then, set the custom store URL log(f"Setting custom store URL: {store_url}") await client.send(CALL, "utilities/settings/set", ["store_url", store_url]) - - # Wait for reply msg = await client.recv() if msg is None: raise RuntimeError("Connection closed by server") |
