Commit b7694b4a authored by Ondřej Kuzník's avatar Ondřej Kuzník
Browse files

Deal with sid reconfiguration

parent 77715d06
...@@ -131,7 +131,7 @@ class Provider: ...@@ -131,7 +131,7 @@ class Provider:
def _update_cookie(self, new_cookie): def _update_cookie(self, new_cookie):
logger.debug("Update from ourselves, cookie %s", new_cookie) logger.debug("Update from ourselves, cookie %s", new_cookie)
if self.sid is None: if self.sid != new_cookie.sid:
self.sid = new_cookie.sid self.sid = new_cookie.sid
self.sid_discovered(self.sid) self.sid_discovered(self.sid)
self.cookie.update(new_cookie) self.cookie.update(new_cookie)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment