araeyn commited on
Commit
c1393d9
·
verified ·
1 Parent(s): d06ef6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,8 +10,8 @@ print("-------")
10
  json.dump({}, open("p.json", "w"))
11
  timeout = 2500
12
  async def echo(websocket):
 
13
  async for message in websocket:
14
-
15
  jm = json.loads(message)
16
  print(jm)
17
  if jm["token"] == None:
 
10
  json.dump({}, open("p.json", "w"))
11
  timeout = 2500
12
  async def echo(websocket):
13
+ global timout
14
  async for message in websocket:
 
15
  jm = json.loads(message)
16
  print(jm)
17
  if jm["token"] == None: