Skip to content

Commit 056abcc

Browse files
committed
Update ApplicationIdle.py
1 parent 4acb9b4 commit 056abcc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎wxPython/Events/ApplicationIdle/ApplicationIdle.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def __init__(self):
1414
def OnApplicationIdle(self, event):
1515
elapsedTime = time.time_ns() - self.lastIdleTime;
1616
if elapsedTime >= 100000000: # 100 ms
17-
self.counter = self.counter + 1
17+
self.counter += 1
1818
self.SetLabel("{0}".format(self.counter))
1919
self.lastIdleTime = time.time_ns()
2020
event.RequestMore()

0 commit comments

Comments
 (0)