Browse Source

auto commit

master
jfinn 2 years ago
parent
commit
5294e7c616
1 changed files with 3 additions and 4 deletions
  1. 3
    4
      wsps/consumers.py

+ 3
- 4
wsps/consumers.py View File

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…
Cancel
Save