Skip to content

Commit 9f224d3

Browse files
author
Scott Sanderson
committed
BUG: Write to correct location.
1 parent 83344fa commit 9f224d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/pgcontents

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def fetch(db_url, user, filename, key, output, type, clear_output):
194194
if clear_output:
195195
ClearOutputPreprocessor().preprocess(nb, resources=None)
196196

197-
nbformat.write(nb, open(filename, 'w'), version=nbformat.NO_CONVERT)
197+
nbformat.write(nb, open(output, 'w'), version=nbformat.NO_CONVERT)
198198

199199

200200
if __name__ == "__main__":

0 commit comments

Comments
 (0)