Skip to content

Commit

Permalink
Fix json_output in kernelspec app (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Jan 26, 2023
1 parent dac3cc2 commit dc6113c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_client/kernelspecapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def path_key(item):
for kernelname, path in sorted(paths.items(), key=path_key):
self.log.info(" %s %s", kernelname.ljust(name_len), path)
else:
self.log.info(json.dumps({"kernelspecs": specs}, indent=2))
print(json.dumps({"kernelspecs": specs}, indent=2)) # noqa
return specs


Expand Down

0 comments on commit dc6113c

Please sign in to comment.