Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Ensure users python folder is on path
Fix import of expressions if we have to make the the python\expressions
folders
  • Loading branch information
NathanW2 committed Jan 19, 2015
1 parent 295f466 commit 51bb803
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/user.py
Expand Up @@ -23,6 +23,8 @@ def load_user_expressions(path):
expressionspath = os.path.join(userpythonhome, "expressions")
startuppy = os.path.join(userpythonhome, "startup.py")

sys.path.append(userpythonhome)

# exec startup script
if os.path.exists(startuppy):
execfile(startuppy, locals(), globals())
Expand Down

0 comments on commit 51bb803

Please sign in to comment.