Cleaned up the webclient and changed how it handles sessions and identifies with the server. Fixed some reported bugs caused by the changed layout of sessionhandler.

This commit is contained in:
Griatch 2010-12-11 13:37:26 +00:00
parent b1682f78c9
commit 0eb5d29560
16 changed files with 191 additions and 107 deletions

View file

@ -7,7 +7,7 @@ It also defines a few common scripts.
from time import time
from twisted.internet import task
from src.server import sessionhandler
from src.server.sessionhandler import SESSIONS
from src.typeclasses.typeclass import TypeClass
from src.scripts.models import ScriptDB
from src.comms import channelhandler
@ -234,7 +234,7 @@ class CheckSessions(Script):
"called every 60 seconds"
#print "session check!"
#print "ValidateSessions run"
sessionhandler.validate_sessions()
SESSIONS.validate_sessions()
class ValidateScripts(Script):
"Check script validation regularly"