Skip to content

Commit dc6113c

Browse files
authored
Fix json_output in kernelspec app (#921)
1 parent dac3cc2 commit dc6113c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_client/kernelspecapp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def path_key(item):
6464
for kernelname, path in sorted(paths.items(), key=path_key):
6565
self.log.info(" %s %s", kernelname.ljust(name_len), path)
6666
else:
67-
self.log.info(json.dumps({"kernelspecs": specs}, indent=2))
67+
print(json.dumps({"kernelspecs": specs}, indent=2)) # noqa
6868
return specs
6969

7070

0 commit comments

Comments
 (0)