X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e4a197e4c60e461b8068b0619692ea083e30b8b..f78e4942ec0f3f6abd2992502e2d6c5c2e8e55f6:/wxPython/distrib/mac/zappycfiles.py diff --git a/wxPython/distrib/mac/zappycfiles.py b/wxPython/distrib/mac/zappycfiles.py index dcd41334c6..0349220d9e 100644 --- a/wxPython/distrib/mac/zappycfiles.py +++ b/wxPython/distrib/mac/zappycfiles.py @@ -10,11 +10,10 @@ doit = 1 def main(): if not sys.argv[1:]: if os.name == 'mac': - import macfs - fss, ok = macfs.GetDirectory('Directory to zap pyc files in') - if not ok: + import EasyDialogs + dir = EasyDialogs.AskFolder(message='Directory to zap pyc files in') + if not dir: sys.exit(0) - dir = fss.as_pathname() zappyc(dir) else: print 'Usage: zappyc dir ...'