X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0af45411b9d08118f2a599427de2092c3f7972f2..db16e5c3aae30ee4502d3e0d41eed500af365fe9:/wxPython/demo/PyCrust.py?ds=sidebyside 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])])