mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-25 21:40:02 +00:00
CLI: tahoe_check: stop escaping the JSON output when using --raw
This commit is contained in:
parent
cfce8b5eab
commit
0716fbcd16
@ -35,7 +35,8 @@ def check(options):
|
||||
return 1
|
||||
jdata = resp.read()
|
||||
if options.get("raw"):
|
||||
pprint(jdata, stream=stdout)
|
||||
stdout.write(jdata)
|
||||
stdout.write("\n")
|
||||
return 0
|
||||
data = simplejson.loads(jdata)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user