@ -983,7 +983,8 @@ def restart_device(device_id):
timeout=15
)
# Wysyłamy komendę reboot
list(api('/system/reboot', {'confirm': 'y'}))
list(api('/system/reboot'))
flash("Komenda reboot została wysłana.")
except Exception as e:
flash(f"Błąd podczas wysyłania komendy reboot: {e}")
The note is not visible to the blocked user.