Skip to content

Commit

Permalink
Merge pull request ipython#4966 from takluyver/sign-blank-app-argv
Browse files Browse the repository at this point in the history
Ignore sys.argv in NotebookNotary

when creating a BaseIPythonApplication just for its profile_dir
  • Loading branch information
minrk committed Jan 31, 2014
2 parents cb1ee85 + 360348b commit 7a0ea33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/nbformat/sign.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _profile_dir_default(self):
if app is None:
# create an app, without the global instance
app = BaseIPythonApplication()
app.initialize()
app.initialize(argv=[])
return app.profile_dir

algorithm = Enum(algorithms, default_value='sha256', config=True,
Expand Down

0 comments on commit 7a0ea33

Please sign in to comment.