Compare commits
No commits in common. "6bc41acebd3c6c83890bad20f0acd22233ce19b9" and "f572b0808c38e74891741b44fd0cd9d0b4e1bbd4" have entirely different histories.
6bc41acebd
...
f572b0808c
2
app.py
2
app.py
@ -983,7 +983,7 @@ def restart_device(device_id):
|
|||||||
timeout=15
|
timeout=15
|
||||||
)
|
)
|
||||||
# Wysyłamy komendę reboot
|
# Wysyłamy komendę reboot
|
||||||
list(api('/system/reboot', {'confirm': 'y'}))
|
list(api('/system/reboot', {'confirm': ''}))
|
||||||
flash("Komenda reboot została wysłana.")
|
flash("Komenda reboot została wysłana.")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
flash(f"Błąd podczas wysyłania komendy reboot: {e}")
|
flash(f"Błąd podczas wysyłania komendy reboot: {e}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user