Fix full syncs with new actors

This commit is contained in:
Matt 2021-03-14 09:44:36 -04:00
parent 96bdbefb8c
commit 77f06b0817

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)