mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-06-05 03:29:33 +00:00
Should fix #31, reopen if not
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user