Update command_runner.py

command runner unregistrarion message params set null
This commit is contained in:
Edip YILDIZ 2020-06-26 10:06:22 +03:00 committed by GitHub
parent b0579af6dd
commit 059d85d2bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,7 +184,7 @@ class CommandRunner(object):
elif str(json_data['event']) == 'unregister' and len(json_data)==1:
self.logger.info('Unregistering..')
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:
self.messenger.send_direct_message(unregister_message)