fix: init msg variable
This commit is contained in:
parent
d7ca534714
commit
cf46f5dc17
@ -4,6 +4,7 @@
|
||||
import aiohttp
|
||||
|
||||
action = (params_kw or {}).get('action', 'send_message')
|
||||
msg = ''
|
||||
if action != 'send_message':
|
||||
p = params_kw or {}
|
||||
msg = (p.get('message_text') or '').strip()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user