aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmdejong <jmdejong@users.noreply.github.com>2017-06-01 11:54:29 +0200
committerGitHub <noreply@github.com>2017-06-01 11:54:29 +0200
commit97e67388cc65c349104171d582f3dbecb289459e (patch)
tree2d4a3d0b1cb748ef76bc2cd455dc845fffde4546
parentb440bc41f9050db6ed375f290d18eb5137990dcf (diff)
downloadbbj-97e67388cc65c349104171d582f3dbecb289459e.tar.gz
format .bbjrc
add indentation to .bbjrc so it will become much more readable
-rw-r--r--clients/urwid/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/urwid/main.py b/clients/urwid/main.py
index 8bf0305..613c8ad 100644
--- a/clients/urwid/main.py
+++ b/clients/urwid/main.py
@@ -2018,7 +2018,7 @@ def bbjrc(mode, **params):
values.update(params)
# we always write
with open(rcpath, "w") as _out:
- json.dump(values, _out)
+ json.dump(values, _out, indent=2)
return values
Un proyecto texto-plano.xyz