New player registrations are once again working. Shored up some vulnerable spots too.

This commit is contained in:
Greg Taylor 2007-01-04 01:55:01 +00:00
parent 95e645246e
commit 2c85fe3be5
5 changed files with 16 additions and 4 deletions

View file

@ -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: