Commit 0ccfb916 authored by Štěpán Henek's avatar Štěpán Henek 🌩

notifications: disappearing zero in automatic restarts form fix

parent 6b3d5719
...@@ -41,7 +41,7 @@ class NotificationsHandler(BaseConfigHandler): ...@@ -41,7 +41,7 @@ class NotificationsHandler(BaseConfigHandler):
data["security"] = data["emails"]["smtp_custom"]["security"] data["security"] = data["emails"]["smtp_custom"]["security"]
data["username"] = data["emails"]["smtp_custom"]["username"] data["username"] = data["emails"]["smtp_custom"]["username"]
data["password"] = data["emails"]["smtp_custom"]["password"] data["password"] = data["emails"]["smtp_custom"]["password"]
data["delay"] = data["reboots"]["delay"] data["delay"] = str(data["reboots"]["delay"])
data["reboot_time"] = data["reboots"]["time"] data["reboot_time"] = data["reboots"]["time"]
if self.data: if self.data:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment