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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,9 +8,9 @@ print("started")
8
  print("-------")
9
 
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)
 
8
  print("-------")
9
 
10
  json.dump({}, open("p.json", "w"))
11
+
12
  async def echo(websocket):
13
+ timout = 2500
14
  async for message in websocket:
15
  jm = json.loads(message)
16
  print(jm)