Space-Face commited on
Commit
4ea9251
1 Parent(s): 961b061

Update SpaceFace.py

Browse files
Files changed (1) hide show
  1. SpaceFace.py +1 -1
SpaceFace.py CHANGED
@@ -132,7 +132,7 @@ def monitor_users():
132
  global users
133
  while True:
134
  time.sleep(1)
135
- for k, v in users:
136
  if time.time() - v.last_request >= 300:
137
  del users[k]
138
  def start_server(endpoints):
 
132
  global users
133
  while True:
134
  time.sleep(1)
135
+ for k, v in users.items():
136
  if time.time() - v.last_request >= 300:
137
  del users[k]
138
  def start_server(endpoints):