Should fix #31, reopen if not

This commit is contained in:
Artem30801
2019-06-18 13:37:55 +03:00
parent b7018288fd
commit a7067115c4

View File

@@ -80,7 +80,7 @@ def _command_test(**kwargs):
@messaging.message_callback("service_restart")
def _command_service_restart(**kwargs):
os.system("systemctl restart" + kwargs["name"])
os.system("systemctl restart {}".format(kwargs["name"]))
@messaging.message_callback("led_test")