X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/932142005296b619b7eaf71de6c2e0fecae6d12d..830efc9b0cb87eae22d4435af7858175017522ab:/wxPython/demo/wxFileHistory.py?ds=inline 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])])