Commit b30288e0 authored by Matt Traudt's avatar Matt Traudt
Browse files

Add indent to state file to make it more human readable

parent d3e1025b
...@@ -20,7 +20,7 @@ class State: ...@@ -20,7 +20,7 @@ class State:
def _write(self): def _write(self):
with FileLock(self._fname): with FileLock(self._fname):
with open(self._fname, 'wt') as fd: with open(self._fname, 'wt') as fd:
return json.dump(self._state, fd) return json.dump(self._state, fd, indent=4)
def __len__(self): def __len__(self):
self._state = self._read() self._state = self._read()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment