Update app.py
Browse files
app.py
CHANGED
@@ -58,9 +58,10 @@ def chat(name, text):
|
|
58 |
return "ok"
|
59 |
|
60 |
def get_data(name):
|
|
|
61 |
for u in live_user.keys():
|
62 |
if u == name:
|
63 |
-
live_user[u] =
|
64 |
else:
|
65 |
live_user[u] -= 1
|
66 |
if live_user[u] < 0:
|
|
|
58 |
return "ok"
|
59 |
|
60 |
def get_data(name):
|
61 |
+
global live_user
|
62 |
for u in live_user.keys():
|
63 |
if u == name:
|
64 |
+
live_user[u] = 50
|
65 |
else:
|
66 |
live_user[u] -= 1
|
67 |
if live_user[u] < 0:
|