mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix freezing issue at startup
This commit is contained in:
parent
1b0c8e34f3
commit
a3d996bc6c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue