Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 106fcea

Browse files
committed
Temporarily disabled the import hook. It breaks with the package-based
Carbon and its workaround.
1 parent 25a68e1 commit 106fcea

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Mac/Tools/IDE/Splash.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def importing(module):
3232
Qd.SetPort(splash)
3333
fontID = Fm.GetFNum("Python-Sans")
3434
if not fontID:
35+
from Fonts import geneva
3536
fontID = geneva
3637
Qd.TextFont(fontID)
3738
Qd.TextSize(9)
@@ -64,7 +65,7 @@ def my__import__(name, globals=None, locals=None, fromlist=None):
6465
return rv
6566
return _real__import__(name)
6667

67-
install_importhook()
68+
#install_importhook()
6869

6970
kHighLevelEvent = 23
7071
import Win

0 commit comments

Comments
 (0)