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 ###################