Skip to content

Commit

Permalink
Update jupyter_collaboration/handlers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart authored Feb 23, 2023
1 parent a7bb5da commit d8fab50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_collaboration/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ async def open(self, path):

# Close the connection if the document session expired
session = self.get_query_argument("session", "")
if isinstance(self.room, DocumentRoom) and not DOCUMENT_SESSION == session:
if isinstance(self.room, DocumentRoom) and DOCUMENT_SESSION != session:
self.close(1, "Document session expired")

# cancel the deletion of the room if it was scheduled
Expand Down

0 comments on commit d8fab50

Please sign in to comment.