Skip to content
Snippets Groups Projects
Commit 2d23ec78 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix output of shell command'

:
parent 01104dfb
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,8 @@ def register_handlers(bot):
"Sorry @{}, only operators and shifters are allowed to mess "
"with me, sorry...".format(user), channel_id)
return
status = subprocess.check_output(['supervisorctl', 'status'])
status = subprocess.check_output(['supervisorctl',
'status']).decode('ascii')
bot.send_message(status, channel_id)
def shifters(msg, user, channel_id):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment