X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0af45411b9d08118f2a599427de2092c3f7972f2..973ac5bbb2ca39f0f3e21b85c1c130d2215f1552:/wxPython/demo/PyCrust.py

diff --git a/wxPython/demo/PyCrust.py b/wxPython/demo/PyCrust.py
index feaf9df92e..4d2ae22b32 100644
--- a/wxPython/demo/PyCrust.py
+++ b/wxPython/demo/PyCrust.py
@@ -17,6 +17,7 @@ overview = shell.__doc__
 
 
 if __name__ == '__main__':
+    import sys,os
     import run
-    run.main(['', 'PyCrust'])
+    run.main(['', os.path.basename(sys.argv[0])])