From 5d81e61036e6ce5e0e08c22389ec71d87525c25e Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 13 May 2023 18:46:21 +0300 Subject: [PATCH] 1 --- hlna.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hlna.py b/hlna.py index 05fd769..ad1aee6 100755 --- a/hlna.py +++ b/hlna.py @@ -525,6 +525,10 @@ def start_stop(action, g, m, b, list_config=list_config): print_line("Готово") else: print("Ни одной карты не установлено") + elif g == "7days": + x = os.system(f"systemctl --user {action} 7days.service") + if x == 0: + print_line("Готово") def read_yaml(list_config, flag=True):