Skip to content

Commit

Permalink
Remove change in working directory from the default startup script
Browse files Browse the repository at this point in the history
  • Loading branch information
rayosborn committed Feb 21, 2024
1 parent a4fe052 commit b879213
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/nexpy/gui/consoleapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,7 @@ def init_shell(self, args):
"import scipy as sp\n",
"import matplotlib as mpl\n",
"from matplotlib import pylab, mlab, pyplot\n",
"plt = pyplot\n",
"os.chdir(os.path.expanduser('~'))\n"]
"plt = pyplot\n"]
config_file = os.path.join(self.nexpy_dir, 'config.py')
if not os.path.exists(config_file):
with open(config_file, 'w') as f:
Expand Down

0 comments on commit b879213

Please sign in to comment.