summaryrefslogtreecommitdiffstats
path: root/Mac/scripts/MkDistr_ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/scripts/MkDistr_ui.py')
-rw-r--r--Mac/scripts/MkDistr_ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/scripts/MkDistr_ui.py b/Mac/scripts/MkDistr_ui.py
index f0be72b..6b39aaa 100644
--- a/Mac/scripts/MkDistr_ui.py
+++ b/Mac/scripts/MkDistr_ui.py
@@ -321,7 +321,7 @@ def GetType():
def InitUI():
"""Initialize stuff needed by UI (a resource file)"""
- Res.OpenResFile('MkDistr.rsrc')
+ Res.FSpOpenResFile('MkDistr.rsrc', 1)
class _testerhelp:
def __init__(self, which):
@@ -340,7 +340,7 @@ class _testerhelp:
class _test:
def __init__(self):
import sys
- Res.OpenResFile('MkDistr.rsrc')
+ Res.FSpOpenResFile('MkDistr.rsrc', 1)
self.inc = _testerhelp('include')
self.exc = _testerhelp('exclude')
self.ui = MkDistrUI(self)