Explorar el Código

auto commit

master
jfinn hace 2 años
padre
commit
5294e7c616
Se han modificado 1 ficheros con 3 adiciones y 4 borrados
  1. 3
    4
      wsps/consumers.py

+ 3
- 4
wsps/consumers.py Ver fichero

45
 
45
 
46
         # p("!!!!!!!!!!!!!!!!!!!!")
46
         # p("!!!!!!!!!!!!!!!!!!!!")
47
         # print("",end="",flush=True)
47
         # print("",end="",flush=True)
48
-        await self.send(text_data=json.dumps({
49
-            'wsconn': {"abc.":123}
50
-        }))
51
         self.accept()
48
         self.accept()
52
 
49
 
53
 
50
 
54
-
51
+        await self.send(text_data=json.dumps({
52
+            'wsconn': {"abc.":123}
53
+        }))
55
 
54
 
56
 
55
 
57
     async def ws_disconn(self, close_code):
56
     async def ws_disconn(self, close_code):

Loading…
Cancelar
Guardar