check none
This commit is contained in:
parent
2fe20b4605
commit
145f8d96c8
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class find_duplicate_files:
|
|||
def _check_file_cache(self, file):
|
||||
result = self.cur.execute(f"SELECT hash FROM files WHERE file = '{file}'")
|
||||
row = result.fetchone()
|
||||
if len(row) > 0:
|
||||
if row and len(row) > 0:
|
||||
return row[0]
|
||||
else:
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue