1
This commit is contained in:
parent
787e2c35c7
commit
c127b5e4c4
1
hlna.py
1
hlna.py
@ -576,7 +576,6 @@ def switch(g, m, e): #добавить all
|
|||||||
print(f"Готов - {i}")
|
print(f"Готов - {i}")
|
||||||
start = "start" if e else "stop"
|
start = "start" if e else "stop"
|
||||||
enable = "enable" if e else "disable"
|
enable = "enable" if e else "disable"
|
||||||
os.system(f"systemctl --user {start} ark_{i}")
|
|
||||||
os.system(f"systemctl --user {enable} ark_{i}")
|
os.system(f"systemctl --user {enable} ark_{i}")
|
||||||
else:
|
else:
|
||||||
print(f"Ошибка перемещения {i}")
|
print(f"Ошибка перемещения {i}")
|
||||||
|
Loading…
Reference in New Issue
Block a user