fallback to str

master
inpos 2018-08-17 17:57:55 +03:00
parent 365d54c2f2
commit a3494c764e
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ def encode(o):
elif isinstance(o, JsObject):
return o._id
else:
return o
return str(o)
class JsBlock:
def __init__(self, *args, **kwargs):