mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-10 10:02:36 +03:00
Update command_runner.py
command runner unregistrarion message params set null
This commit is contained in:
parent
b0579af6dd
commit
059d85d2bf
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class CommandRunner(object):
|
||||||
elif str(json_data['event']) == 'unregister' and len(json_data)==1:
|
elif str(json_data['event']) == 'unregister' and len(json_data)==1:
|
||||||
self.logger.info('Unregistering..')
|
self.logger.info('Unregistering..')
|
||||||
self.execute_manager.set_unregister_credential_params(None, None)
|
self.execute_manager.set_unregister_credential_params(None, None)
|
||||||
unregister_message = self.message_manager.unregister_msg()
|
unregister_message = self.message_manager.unregister_msg(None,None)
|
||||||
if unregister_message is not None:
|
if unregister_message is not None:
|
||||||
self.messenger.send_direct_message(unregister_message)
|
self.messenger.send_direct_message(unregister_message)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue