diff --git a/find_duplicate_files/find_duplicate_files.py b/find_duplicate_files/find_duplicate_files.py index 8507c40..19db83b 100644 --- a/find_duplicate_files/find_duplicate_files.py +++ b/find_duplicate_files/find_duplicate_files.py @@ -61,7 +61,7 @@ class find_duplicate_files: return False 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() return result