minor fix

This commit is contained in:
ThomasV 2017-03-23 21:57:01 +01:00
parent 2ea3bbea30
commit a20233b629
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ class NetworkChoiceLayout(object):
except: except:
height = 0 height = 0
self.cph.setText('%d'%height) self.cph.setText('%d'%height)
if height == self.config.get('checkpoint_height', 0): if height == self.checkpoint_height:
return return
try: try:
self.network.print_error("fetching header") self.network.print_error("fetching header")