Browse Source

auto commit

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

+ 4
- 3
wsps/consumers.py View File

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

Loading…
Cancel
Save