Fix matching by filename

This commit is contained in:
tomkat83 2016-06-25 11:27:38 +02:00
parent 5210e7c442
commit e70ce89c34

View file

@ -195,7 +195,7 @@ class Kodidb_Functions():
idFile = None idFile = None
else: else:
# Try to fetch again - if successful, we got >1 result # Try to fetch again - if successful, we got >1 result
if self.cursor.fetchone() is None: if self.cursor.fetchone() is not None:
self.logMsg('We found several items with the same filename', 1) self.logMsg('We found several items with the same filename', 1)
idFile = None idFile = None
if idFile is None: if idFile is None: