File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33# keep this (__main__) as clean as possible, since we are using
44# it like the "normal" interpreter.
55
6- __version__ = '1.0b2 '
6+ __version__ = '1.0b3 '
77
88
99def init ():
@@ -18,15 +18,15 @@ def init():
1818 Res .GetResource ('DITL' , 468 )
1919 except Res .Error :
2020 # we're not an applet
21- Res .OpenResFile (os .path .join (sys .exec_prefix , ":Mac:Tools:IDE:PythonIDE.rsrc" ))
22- Res .OpenResFile (os .path .join (sys .exec_prefix , ":Mac:Tools:IDE:Widgets.rsrc" ))
21+ Res .FSpOpenResFile (os .path .join (sys .exec_prefix , ":Mac:Tools:IDE:PythonIDE.rsrc" ), 1 )
22+ Res .FSpOpenResFile (os .path .join (sys .exec_prefix , ":Mac:Tools:IDE:Widgets.rsrc" ), 1 )
2323 ide_path = os .path .join (sys .exec_prefix , ":Mac:Tools:IDE" )
2424 else :
2525 # we're an applet
2626 try :
2727 Res .GetResource ('CURS' , 468 )
2828 except Res .Error :
29- Res .OpenResFile (os .path .join (sys .exec_prefix , ":Mac:Tools:IDE:Widgets.rsrc" ))
29+ Res .FSpOpenResFile (os .path .join (sys .exec_prefix , ":Mac:Tools:IDE:Widgets.rsrc" ), 1 )
3030 ide_path = os .path .join (sys .exec_prefix , ":Mac:Tools:IDE" )
3131 else :
3232 # we're a full blown applet
You can’t perform that action at this time.
0 commit comments