Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jiivan committed Mar 4, 2020
1 parent 848360e commit 20e6176
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion golem/task/server/queue_.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ def msg_queue_connection_established(
conn_id,
node_id,
):
session: 'TaskSession' = protocol.session
session = protocol.session
if typing.TYPE_CHECKING:
assert isinstance(session, TaskSession)
try:
if self.sessions[node_id] is not None:
# There is a session already established
Expand Down

0 comments on commit 20e6176

Please sign in to comment.