fix insert
This commit is contained in:
parent
145f8d96c8
commit
8e1843dbe2
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class find_duplicate_files:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def _cache_file(self, file, hash):
|
def _cache_file(self, file, hash):
|
||||||
result = self.cur.execute(f"INSERT INTO files hash, file VALUES ('{file}', '{hash}')")
|
result = self.cur.execute(f"INSERT INTO files (hash, file) VALUES ('{file}', '{hash}')")
|
||||||
self.cur.commit()
|
self.cur.commit()
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue