Added an optional debug handler that traps and prints all unknown appleevents.

This commit is contained in:
Jack Jansen 2000-06-20 22:01:04 +00:00
parent d13c385462
commit 8eff33b51f
13 changed files with 24 additions and 13 deletions

View file

@ -19,7 +19,7 @@ def main():
dummy = Res.GetResource('DLOG', ID_MAIN)
except Res.Error:
try:
Res.OpenResFile("dnslookup-2.rsrc")
Res.FSpOpenResFile("dnslookup-2.rsrc", 1)
except Res.Error:
EasyDialogs.Message("Cannot open dnslookup-2.rsrc")
sys.exit(1)