X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/660658398148d82d492a5d1a944bc4058a082267..8623a8838d8c4a7fd531e1eb3940e3ddf7306584:/wxPython/demo/Timer.py

diff --git a/wxPython/demo/Timer.py b/wxPython/demo/Timer.py
index 3c88d92a39..22b7192a2c 100644
--- a/wxPython/demo/Timer.py
+++ b/wxPython/demo/Timer.py
@@ -229,7 +229,7 @@ class NotifyTimer(wx.Timer):
         self.log = log
         
     def Notify(self):
-        log.write("got NotifyTimer event\n")
+        self.log.write("got NotifyTimer event\n")
 
 
 
@@ -260,7 +260,7 @@ for backwards compatibility.
 if __name__ == '__main__':
     import sys,os
     import run
-    run.main(['', os.path.basename(sys.argv[0])])
+    run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])