bigghuggs commited on
Commit
a14f6ba
·
verified ·
1 Parent(s): 5645667

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -200,9 +200,9 @@ class AllSessions():
200
  all_sesh = AllSessions()
201
 
202
  def getSesh(seshid):
203
- if seshid not in all_sesh:
204
- all_sesh[seshid] = Session()
205
- sesh = all_sesh[seshid]
206
  return sesh
207
 
208
  def setSesh(seshid, sesh):
 
200
  all_sesh = AllSessions()
201
 
202
  def getSesh(seshid):
203
+ if seshid not in all_sesh.sessions:
204
+ all_sesh.sessions[seshid] = Session()
205
+ sesh = all_sesh.sessions[seshid]
206
  return sesh
207
 
208
  def setSesh(seshid, sesh):