Skip to content

Commit

Permalink
Python bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Aug 8, 2016
1 parent 422aa50 commit 1a43349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caravel/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def json_iso_dttm_ser(obj):
return val
if isinstance(obj, datetime):
obj = obj.isoformat()
if isinstance(obj, date):
elif isinstance(obj, date):
obj = obj.isoformat()
else:
raise TypeError(
Expand Down

0 comments on commit 1a43349

Please sign in to comment.