summaryrefslogtreecommitdiffstats
path: root/gallery_dl/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/util.py')
-rw-r--r--gallery_dl/util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gallery_dl/util.py b/gallery_dl/util.py
index 17cd73a..d87184d 100644
--- a/gallery_dl/util.py
+++ b/gallery_dl/util.py
@@ -733,6 +733,7 @@ class DownloadArchive():
def __init__(self, path, extractor):
con = sqlite3.connect(path)
con.isolation_level = None
+ self.close = con.close
self.cursor = con.cursor()
self.cursor.execute("CREATE TABLE IF NOT EXISTS archive "
"(entry PRIMARY KEY) WITHOUT ROWID")