]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Image.py
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / demo / Image.py
index 6193f004d7825348b273a2ddab2a392f09865a4d..a6f9a9c9e98f9faa8f8f34a3a9bfa79c5c4cb553 100644 (file)
@@ -73,5 +73,5 @@ wxPNMHandler will always save as raw RGB.
 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:])