Fix full syncs with new actors

This commit is contained in:
Matt 2021-03-14 09:44:36 -04:00
parent 96bdbefb8c
commit 77f06b0817
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
'''
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)