Browse Source

auto commit

master
jfinn 2 years ago
parent
commit
8d0b8f641b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      wsps/consumers.py

+ 1
- 1
wsps/consumers.py View File

16
 		# if 'message' in text_data_json:
16
 		# if 'message' in text_data_json:
17
 
17
 
18
 		if "key" in msg_data:
18
 		if "key" in msg_data:
19
-			key = msg_data["key"]
19
+			key = "_" + msg_data["key"] 
20
 			mthd = getattr(self,key,None)
20
 			mthd = getattr(self,key,None)
21
 			if mthd:
21
 			if mthd:
22
 				await mthd(msg_data) 
22
 				await mthd(msg_data) 

Loading…
Cancel
Save