27 lines
563 B
Python
27 lines
563 B
Python
from hserver.session.SessionHandler import SessionHandler,Session
|
|
from hserver.api.WebObject import WebObject
|
|
|
|
import os
|
|
from simplelog import log
|
|
|
|
class SessionObject(Session,WebObject):
|
|
|
|
def __init__(self,sid,request):
|
|
Session.__init__(self,sid,request)
|
|
WebObject.__init__(self)
|
|
|
|
|
|
class SessionHandlerObject(SessionHandler,WebObject):
|
|
|
|
def __init__(self):
|
|
WebObject.__init__(self)
|
|
SessionHandler.__init__(self)
|
|
|
|
def __getitem__(self,name):
|
|
try:
|
|
return SessionHandler.__getitem__(self,name)
|
|
except:
|
|
return WebObject.__getitem__(self,name)
|
|
|
|
|