浏览代码

auto commit

master
jfinn 3 年前
父节点
当前提交
7a20cc6721
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5
    3
      wsps/consumers.py

+ 5
- 3
wsps/consumers.py 查看文件

7
 
7
 
8
 class ChatConsumer(WebsocketConsumer):
8
 class ChatConsumer(WebsocketConsumer):
9
     def connect(self):
9
     def connect(self):
10
+        p("!!!!!!!!!!!!!!!!!!!!?")
11
+        print("",end="",flush=True)
12
+        time.sleep(9.5)
13
+
10
         p("!!!!!!!!!!!!!!!!!!!!")
14
         p("!!!!!!!!!!!!!!!!!!!!")
11
         print("",end="",flush=True)
15
         print("",end="",flush=True)
12
         self.accept()
16
         self.accept()
35
 
39
 
36
 
40
 
37
 print("++?",end="\n",flush=True)
41
 print("++?",end="\n",flush=True)
38
-time.sleep(15.5)
39
-
40
-print("++2?",end="\n",flush=True)
42
+# print("++2?",end="\n",flush=True)
41
 # print("++",end="\n",flush=True)
43
 # print("++",end="\n",flush=True)
42
 
44
 
43
 
45
 

正在加载...
取消
保存