New player registrations are once again working. Shored up some vulnerable spots too.
This commit is contained in:
parent
95e645246e
commit
2c85fe3be5
5 changed files with 16 additions and 4 deletions
|
|
@ -33,7 +33,7 @@ def session_from_object(targobject):
|
|||
session_list: (list) The server's session_list attribute.
|
||||
targobject: (Object) The object to match.
|
||||
"""
|
||||
results = [prospect for prospect in session_list if prospect.get_pobject().id == targobject.id]
|
||||
results = [prospect for prospect in session_list if prospect.get_pobject() == targobject]
|
||||
if results:
|
||||
return results[0]
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue