Update ObjectSessionHandler to avoid a caching syncing issue; should resolve #1153.
This commit is contained in:
parent
99c4042fbc
commit
19e8528b04
3 changed files with 20 additions and 4 deletions
|
|
@ -419,7 +419,10 @@ class ServerSession(Session):
|
|||
|
||||
def __eq__(self, other):
|
||||
"Handle session comparisons"
|
||||
return self.address == other.address
|
||||
try:
|
||||
return self.address == other.address
|
||||
except AttributeError:
|
||||
return False
|
||||
|
||||
def __str__(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue