Skip to content

Commit

Permalink
fix missed if else due to indentation for time update
Browse files Browse the repository at this point in the history
  • Loading branch information
krunch3r76 committed Feb 19, 2022
1 parent f09f12c commit 64f1658
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gc_spyu/on_accepted_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ###################

Expand Down

0 comments on commit 64f1658

Please sign in to comment.