fix exists

This commit is contained in:
Antonio J. Delgado 2023-01-25 16:29:39 +02:00
parent 3c74466b61
commit 2fe20b4605

View file

@ -49,7 +49,7 @@ class find_duplicate_files:
self.cache_file = cache_file
self.cache_db = sqlite3.connect(self.cache_file)
self.cur = self.cache_db.cursor()
self.cur.execute("CREATE TABLE IF NOT EXIST files(hash, file)")
self.cur.execute("CREATE TABLE IF NOT EXISTS files(hash, file)")
self.cache_db.commit()
def _check_file_cache(self, file):