ldhldh commited on
Commit
acc816f
·
verified ·
1 Parent(s): a488bf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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] = 20
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: