diff --git a/resources/lib/connect/credentials.py b/resources/lib/connect/credentials.py index c5ea3b81..f7f9fa36 100644 --- a/resources/lib/connect/credentials.py +++ b/resources/lib/connect/credentials.py @@ -141,7 +141,7 @@ class Credentials(object): def _dateObject(self, date): # Convert string to date try: - date_obj = datetime.strptime(date, "%Y-%m-%dT%H:%M:%SZ") + date_obj = time.strptime(date, "%Y-%m-%dT%H:%M:%SZ") except (ImportError, TypeError): # TypeError: attribute of type 'NoneType' is not callable # Known Kodi/python error