mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-12 22:26:16 -04:00
Don't check downloads db when repairing
This commit is contained in:
parent
587739b109
commit
5d9b925822
1 changed files with 2 additions and 1 deletions
|
@ -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 "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue