X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/932142005296b619b7eaf71de6c2e0fecae6d12d..1b75810c8d1099abc9692d81e059a3a90afcbdcc:/wxPython/demo/wxFileHistory.py?ds=sidebyside diff --git a/wxPython/demo/wxFileHistory.py b/wxPython/demo/wxFileHistory.py index 571cb8e9fa..8847e2f679 100644 --- a/wxPython/demo/wxFileHistory.py +++ b/wxPython/demo/wxFileHistory.py @@ -118,7 +118,7 @@ list appended to a menu, such as the File menu. """ if __name__ == '__main__': - import os + import sys,os import run - run.main(['', os.path.basename(__file__)]) + run.main(['', os.path.basename(sys.argv[0])])