Update app.py
Browse files
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):
|