Fix matching by filename
This commit is contained in:
parent
5210e7c442
commit
e70ce89c34
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ class Kodidb_Functions():
|
|||
idFile = None
|
||||
else:
|
||||
# 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)
|
||||
idFile = None
|
||||
if idFile is None:
|
||||
|
|
Loading…
Reference in a new issue