force conversion from datetime to str
This commit is contained in:
parent
f4e6cdf0d0
commit
63be1801bf
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def convert_obj(obj):
|
||||||
elif obj_l in ['false', 'off', 'no']:
|
elif obj_l in ['false', 'off', 'no']:
|
||||||
return False
|
return False
|
||||||
elif obj == '%NOW%':
|
elif obj == '%NOW%':
|
||||||
return datetime.datetime.utcnow()
|
return str(datetime.datetime.utcnow())
|
||||||
return obj
|
return obj
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue