diff options
| author | 2020-12-30 18:41:48 -0500 | |
|---|---|---|
| committer | 2020-12-30 18:41:48 -0500 | |
| commit | 87a5aa088ce33a1196ff409b76a9ea8233bdc634 (patch) | |
| tree | 7e6155edcc5dd12e40b47ad814b3bc69e65c52fc /gallery_dl/util.py | |
| parent | 8f7c87a2697113134c311aaeafd9c919555a2741 (diff) | |
New upstream version 1.16.1.upstream/1.16.1
Diffstat (limited to 'gallery_dl/util.py')
| -rw-r--r-- | gallery_dl/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/util.py b/gallery_dl/util.py index 4c0d17b..d91d29a 100644 --- a/gallery_dl/util.py +++ b/gallery_dl/util.py @@ -956,7 +956,7 @@ class PathFormat(): class DownloadArchive(): def __init__(self, path, extractor): - con = sqlite3.connect(path) + con = sqlite3.connect(path, timeout=60, check_same_thread=False) con.isolation_level = None self.close = con.close self.cursor = con.cursor() |
