Skip to content

Commit

Permalink
Fixe typo in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
UmSenhorQualquer committed Oct 31, 2018
1 parent f1fcf76 commit 29a8034
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ def __generage_events_evt(self):

if last_value and not bool(value):
if (i-1-last_index)>=self._mindiff.value:
self._timeline.addPeriod([last_index, i-1, self._eventname.value], int(self._rownumber.value) )
self._timeline.add_period([last_index, i-1, self._eventname.value], int(self._rownumber.value) )
last_value = False
last_index = None

if last_value and (max_frame-last_index)>=self._mindiff.value:
self._timeline.addPeriod([last_index, max_frame, self._eventname.value], int(self._rownumber.value) )
self._timeline.add_period([last_index, max_frame, self._eventname.value], int(self._rownumber.value) )
except Exception as e:
QMessageBox.warning( self, "Error!", str(e) )

Expand Down

0 comments on commit 29a8034

Please sign in to comment.