mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-05-02 17:12:59 +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
|
return 1
|
||||||
jdata = resp.read()
|
jdata = resp.read()
|
||||||
if options.get("raw"):
|
if options.get("raw"):
|
||||||
pprint(jdata, stream=stdout)
|
stdout.write(jdata)
|
||||||
|
stdout.write("\n")
|
||||||
return 0
|
return 0
|
||||||
data = simplejson.loads(jdata)
|
data = simplejson.loads(jdata)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user