mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-13 14:44:49 -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 logging
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
import threading
|
||||||
from getpass import getpass
|
from getpass import getpass
|
||||||
from hashlib import md5
|
from hashlib import md5
|
||||||
from string import Formatter
|
from string import Formatter
|
||||||
import threading
|
|
||||||
from typing import Dict, Generator, List, Optional, Tuple, Type, Union
|
from typing import Dict, Generator, List, Optional, Tuple, Type, Union
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
|
@ -248,6 +248,7 @@ class RipCore(list):
|
||||||
if max_items is None:
|
if max_items is None:
|
||||||
max_items = float("inf")
|
max_items = float("inf")
|
||||||
|
|
||||||
|
self.db = db.Downloads(None, dummy=True)
|
||||||
if self.failed_db.is_dummy:
|
if self.failed_db.is_dummy:
|
||||||
secho(
|
secho(
|
||||||
"Failed downloads database must be enabled in the config file "
|
"Failed downloads database must be enabled in the config file "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue