fix conversion

This commit is contained in:
Cody P Schafer
2014-11-15 00:33:00 -05:00
parent b35ea1ea68
commit 67e0a16a62
+1 -1
View File
@@ -64,7 +64,7 @@ def as_json(list_):
a += '"{}",'.format(e)
else:
raise Exception
if len(e):
if len(list_):
a = a[:-1]
a += ']'
return a