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

@ -20,7 +20,7 @@ ITEM_QUIT_BUTTON=4
def main():
"""Main routine: open resource file, call dialog handler"""
try:
Res.OpenResFile("dnslookup-1.rsrc")
Res.FSpOpenResFile("dnslookup-1.rsrc", 1)
except Res.Error:
EasyDialogs.Message("Cannot open dnslookup-1.rsrc")
sys.exit(1)

Binary file not shown.