Commit c804871d authored by Cresson Remi's avatar Cresson Remi
Browse files

FIX: isinstance

1 merge request!23Add deepnets
Pipeline #34874 passed with stages
in 3 minutes and 23 seconds
Showing with 1 addition and 1 deletion
+1 -1
......@@ -42,4 +42,4 @@ def any2datetime(str_or_datetime):
if isinstance(str_or_datetime, datetime.datetime):
return str_or_datetime
assert isinstance(str_or_datetime, str), "Date must be a str, or a datetime.datetime instance!"
return dates.str2datetime(str_or_datetime)
\ No newline at end of file
return str2datetime(str_or_datetime)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment