Make sure is date iso 8601 formatted

This commit is contained in:
Ana Custura 2026-04-08 15:05:45 +01:00
parent a6efce359d
commit 7f3cd42c3e
4 changed files with 5 additions and 3 deletions

View file

@ -137,6 +137,7 @@ def check_settings(raspap_installed: bool):
diff_in_minutes = (datetime.now().timestamp() - last_modified)/60
needs_restart = False
if diff_in_minutes < 1:
time.sleep(4)
for s in CHANGES_REQUIRING_RESTART:
print(f"Now at setting: {s}")
if s == "wifi_password" and raspap_installed: