adjust archive-ids

This commit is contained in:
Mike Fährmann
2018-02-12 23:09:34 +01:00
parent be3ea4425d
commit 179bcdd349
11 changed files with 32 additions and 21 deletions

View File

@@ -545,10 +545,7 @@ class DownloadArchive():
self.cursor = con.cursor()
self.cursor.execute("CREATE TABLE IF NOT EXISTS archive "
"(entry PRIMARY KEY) WITHOUT ROWID")
self.keygen = (
extractor.category +
(extractor.archive_fmt or extractor.filename_fmt)
).format_map
self.keygen = (extractor.category + extractor.archive_fmt).format_map
self._key = None
def check(self, kwdict):