mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Merge pull request #487 from mcarlton00/actor-full-sync
Fix full syncs with new actors
This commit is contained in:
commit
35876c1626
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ class Kodi(object):
|
|||
'''Retrieve person from the database, or add them if they don't exist
|
||||
'''
|
||||
resp = self.cursor.execute(QU.get_person, args).fetchone()
|
||||
if len(resp) > 0:
|
||||
if resp is not None:
|
||||
return resp[0]
|
||||
else:
|
||||
return self.add_person(*args)
|
||||
|
|
Loading…
Reference in a new issue