]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/FileHistory.py
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / demo / FileHistory.py
index 98403b1493bfa3da55a85121b87df7a59dae5f62..ff650b71d31516f4bf37f5064b86fc31f38719e6 100644 (file)
@@ -139,5 +139,5 @@ associated menu.
 if __name__ == '__main__':
     import sys,os
     import run
 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:])