diff options
Diffstat (limited to 'tools/json2hash')
-rwxr-xr-x | tools/json2hash | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/json2hash b/tools/json2hash index 0accbcd..8dbe9ae 100755 --- a/tools/json2hash +++ b/tools/json2hash @@ -37,6 +37,8 @@ class Processor(object): self._print(v) self.out.write('\n') self.out.write(')\n') + elif _type is bool: + self.out.write('t' if data else 'nil') elif (_type is str or _type is unicode): self.out.write(pystr2elstrexp(data)) else: # number ? |