From 5d9b925822967922c412db03fa57346c1f6393eb Mon Sep 17 00:00:00 2001 From: Nathan Thomas Date: Sun, 15 Aug 2021 12:47:30 -0700 Subject: [PATCH] Don't check downloads db when repairing --- rip/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rip/core.py b/rip/core.py index 7367d66..b9ca3cf 100644 --- a/rip/core.py +++ b/rip/core.py @@ -5,10 +5,10 @@ import html import logging import os import re +import threading from getpass import getpass from hashlib import md5 from string import Formatter -import threading from typing import Dict, Generator, List, Optional, Tuple, Type, Union import requests @@ -248,6 +248,7 @@ class RipCore(list): if max_items is None: max_items = float("inf") + self.db = db.Downloads(None, dummy=True) if self.failed_db.is_dummy: secho( "Failed downloads database must be enabled in the config file "