Merge pull request #487 from mcarlton00/actor-full-sync

Fix full syncs with new actors
This commit is contained in:
Abby 2021-03-14 13:51:22 +00:00 committed by GitHub
commit 35876c1626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class Kodi(object):
'''Retrieve person from the database, or add them if they don't exist '''Retrieve person from the database, or add them if they don't exist
''' '''
resp = self.cursor.execute(QU.get_person, args).fetchone() resp = self.cursor.execute(QU.get_person, args).fetchone()
if len(resp) > 0: if resp is not None:
return resp[0] return resp[0]
else: else:
return self.add_person(*args) return self.add_person(*args)