diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-06-20 22:01:04 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-06-20 22:01:04 (GMT) |
commit | 8eff33b51fff0570fe3a68668073253ec18a2631 (patch) | |
tree | 9907a4db464e263a22dc598cf9d3d1b27cfd347b /Mac/Demo/PICTbrowse/PICTbrowse.py | |
parent | d13c3854629d605236c4d7cc8589a647b069207e (diff) | |
download | cpython-8eff33b51fff0570fe3a68668073253ec18a2631.zip cpython-8eff33b51fff0570fe3a68668073253ec18a2631.tar.gz cpython-8eff33b51fff0570fe3a68668073253ec18a2631.tar.bz2 |
Added an optional debug handler that traps and prints all unknown appleevents.
Diffstat (limited to 'Mac/Demo/PICTbrowse/PICTbrowse.py')
-rw-r--r-- | Mac/Demo/PICTbrowse/PICTbrowse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Demo/PICTbrowse/PICTbrowse.py b/Mac/Demo/PICTbrowse/PICTbrowse.py index 653dd5d..0771991 100644 --- a/Mac/Demo/PICTbrowse/PICTbrowse.py +++ b/Mac/Demo/PICTbrowse/PICTbrowse.py @@ -25,7 +25,7 @@ def main(): dummy = Res.GetResource('DLOG', ID_MAIN) except Res.Error: try: - Res.OpenResFile("PICTbrowse.rsrc") + Res.FSpOpenResFile("PICTbrowse.rsrc", 1) except Res.Error, arg: EasyDialogs.Message("Cannot open PICTbrowse.rsrc: "+arg[1]) sys.exit(1) |