Merge pull request #173 from Nontre12/db-ignored

Fix db ignored
This commit is contained in:
Ricter Zheng
2020-10-14 02:44:03 +08:00
committed by GitHub

View File

@ -58,9 +58,9 @@ def main():
if options.is_save_download_history:
with DB() as db:
data = set(db.get_all())
data = map(int, db.get_all())
doujinshi_ids = list(set(doujinshi_ids) - data)
doujinshi_ids = list(set(doujinshi_ids) - set(data))
if doujinshi_ids:
for i, id_ in enumerate(doujinshi_ids):