summaryrefslogtreecommitdiffstats
path: root/gallery_dl/util.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2019-10-01 19:12:47 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2019-10-01 19:12:47 -0400
commit639d9ea4a667733aadc3ff83a1df2cc9f0add3a9 (patch)
tree5761b58d6fc3e8bbb99b39b8e4417673bccb0b86 /gallery_dl/util.py
parentc09a9f00dd83017d486cd77650347bc2a397ad55 (diff)
New upstream version 1.10.5upstream/1.10.5
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")