X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/932142005296b619b7eaf71de6c2e0fecae6d12d..d60bd5b51eede661744d191d053a53ac1ac6ba36:/wxPython/demo/wxStyledTextCtrl_1.py diff --git a/wxPython/demo/wxStyledTextCtrl_1.py b/wxPython/demo/wxStyledTextCtrl_1.py index eda5e882e9..0f082c2ca9 100644 --- a/wxPython/demo/wxStyledTextCtrl_1.py +++ b/wxPython/demo/wxStyledTextCtrl_1.py @@ -269,7 +269,7 @@ be helpful. if __name__ == '__main__': - import os + import sys,os import run - run.main(['', os.path.basename(__file__)]) + run.main(['', os.path.basename(sys.argv[0])])