X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92bbd64f7fc6d489fa7af1193feef7f3308da549..8641d30c71c774ef39c5adceb3adc039e12c34e0:/wxPython/demo/wxFileHistory.py 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])])