summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/example1/dnslookup-1.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Demo/example1/dnslookup-1.py')
-rw-r--r--Mac/Demo/example1/dnslookup-1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Demo/example1/dnslookup-1.py b/Mac/Demo/example1/dnslookup-1.py
index a59fb8e..294faad 100644
--- a/Mac/Demo/example1/dnslookup-1.py
+++ b/Mac/Demo/example1/dnslookup-1.py
@@ -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)