ensure endReset() is called even if an exception is raised
This commit is contained in:
parent
09a76967e7
commit
13f3719650
@ -184,6 +184,7 @@ class DataModel(QAbstractTableModel):
|
|||||||
invalid = True
|
invalid = True
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
finally:
|
||||||
# print "fetch cards in %dms" % ((time.time() - t)*1000)
|
# print "fetch cards in %dms" % ((time.time() - t)*1000)
|
||||||
self.endReset()
|
self.endReset()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user