From 64f1658e7a07511ccd23b515c7f12a5fc47c2bd1 Mon Sep 17 00:00:00 2001 From: krunch3r76 Date: Sat, 19 Feb 2022 11:19:55 -0800 Subject: [PATCH] fix missed if else due to indentation for time update --- gc_spyu/on_accepted_result.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gc_spyu/on_accepted_result.py b/gc_spyu/on_accepted_result.py index ba5a85f..cd36692 100644 --- a/gc_spyu/on_accepted_result.py +++ b/gc_spyu/on_accepted_result.py @@ -85,9 +85,9 @@ def __lookup_last_nodeinfo_record(providerId) ->NodeInfoNT: if not ( intel_d['name'] == nodeInfoRec.nodename and \ intel_d['model'] == nodeInfoRec.modelname ): _add_nodeInfo(myModel, providerId, intel_d, prefixAttached) - else: - __update_nodeInfo_time(nodeInfoRec.nodeInfoId - , intel_d['unixtime']) + else: + __update_nodeInfo_time(nodeInfoRec.nodeInfoId + , intel_d['unixtime']) ########### END update_main_db ###################