Skip to content

Commit 738838a

Browse files
committed
Fix #12340 - Reload site to pick up new expressions package
1 parent 4b6ad0c commit 738838a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/user.py

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ def load_user_expressions(path):
4444
if not os.path.exists(initfile):
4545
open(initfile, "w").close()
4646

47+
import site
48+
reload(site)
49+
4750
import expressions
4851

4952
expressions.load = load_user_expressions

0 commit comments

Comments
 (0)