Skip to content

Commit

Permalink
BUG: Write to correct location.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Sanderson committed Jul 6, 2017
1 parent 83344fa commit 9f224d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pgcontents
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def fetch(db_url, user, filename, key, output, type, clear_output):
if clear_output:
ClearOutputPreprocessor().preprocess(nb, resources=None)

nbformat.write(nb, open(filename, 'w'), version=nbformat.NO_CONVERT)
nbformat.write(nb, open(output, 'w'), version=nbformat.NO_CONVERT)


if __name__ == "__main__":
Expand Down

0 comments on commit 9f224d3

Please sign in to comment.