sync
This commit is contained in:
10
buzzer_tool/core/commands/reboot.py
Normal file
10
buzzer_tool/core/commands/reboot.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# core/commands/mkdir.py
|
||||
from core.connection import BuzzerError
|
||||
|
||||
def execute(conn):
|
||||
"""Startet den Buzzer neu."""
|
||||
try:
|
||||
conn.send_command(f"reboot")
|
||||
print(f"🔄 Buzzer wird neu gestartet.")
|
||||
except BuzzerError as e:
|
||||
print(f"❌ Fehler beim Neustarten des Buzzers: {e}")
|
||||
Reference in New Issue
Block a user