Skip to content

Commit

Permalink
Signing: Fix unexpected "Connection lost" error (#3861)
Browse files Browse the repository at this point in the history
Local variable `id` was renamed to `future_id` for better readability,
but this place was forgotten.
  • Loading branch information
vfreex authored Aug 4, 2023
1 parent ea83bfc commit 46058aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyartcd/pyartcd/umb_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def on_disconnected(self):
self._client.on_disconnected()
# notify all pending futures of the disconnection
for future_id in self._futures.keys():
if id == "on_disconnected":
if future_id == "on_disconnected":
self._complete_future("on_disconnected", None)
else:
self._err_future(future_id, IOError("Connection lost"))
Expand Down

0 comments on commit 46058aa

Please sign in to comment.