From fa4ab2657464d14dba27e810dbdc39fc8f1ce388 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Mon, 12 Jul 2010 15:35:12 +0200 Subject: [PATCH] try fixing: BootUpdateNode: Invalid argument: Timestamp None - unsupported type "> --- PLC/Methods/BootUpdateNode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PLC/Methods/BootUpdateNode.py b/PLC/Methods/BootUpdateNode.py index ca18886..4e81845 100644 --- a/PLC/Methods/BootUpdateNode.py +++ b/PLC/Methods/BootUpdateNode.py @@ -89,7 +89,7 @@ class BootUpdateNode(Method): current_time = int(time.time()) # if last_pcu_reboot is within 20 minutes of current_time, accept that the PCU is responsible - if Timestamp.cast_long(node['last_pcu_reboot']) >= current_time - 60*20: + if node['last_pcu_reboot'] and Timestamp.cast_long(node['last_pcu_reboot']) >= current_time - 60*20: node.update_last_pcu_confirmation(commit=False) node.sync(commit = True) -- 2.43.0