wrong type for test
This commit is contained in:
2
setup.py
2
setup.py
@@ -79,7 +79,7 @@ def session_setup():
|
|||||||
print("toto")
|
print("toto")
|
||||||
if uptime_days() > boot_limit:
|
if uptime_days() > boot_limit:
|
||||||
#message_box_ask_reboot(message_box_title, boot_limit_message_string % convert_time_to_date(uptime_seconds(), translate=True))
|
#message_box_ask_reboot(message_box_title, boot_limit_message_string % convert_time_to_date(uptime_seconds(), translate=True))
|
||||||
if ask_message(message_box_title, boot_limit_message_string % convert_time_to_date(uptime_seconds(), translate=True), flags=4, raise_error=False,) == "6" :
|
if ask_message(message_box_title, boot_limit_message_string % convert_time_to_date(uptime_seconds(), translate=True), flags=4, raise_error=False,) == 6 :
|
||||||
reboot_machine()
|
reboot_machine()
|
||||||
return "WARNING"
|
return "WARNING"
|
||||||
if uptime_days() < boot_limit:
|
if uptime_days() < boot_limit:
|
||||||
|
|||||||
Reference in New Issue
Block a user