X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0af45411b9d08118f2a599427de2092c3f7972f2..b9ac87bc5cbe46227195e32c44e25831f8206e3c:/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])])