mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-14 07:04:51 -04:00
Misc typing
This commit is contained in:
parent
48b4da80e5
commit
f81176b3dc
8 changed files with 26 additions and 22 deletions
|
@ -132,7 +132,7 @@ class RipCore(list):
|
|||
config.file["database"][db_type]["path"] = default_db_path
|
||||
config.save()
|
||||
else:
|
||||
database = db_class(None, dummy=True)
|
||||
database = db_class("", dummy=True)
|
||||
|
||||
return database
|
||||
|
||||
|
@ -249,7 +249,7 @@ class RipCore(list):
|
|||
if max_items is None:
|
||||
max_items = float("inf")
|
||||
|
||||
self.db = db.Downloads(None, dummy=True)
|
||||
self.db = db.Downloads("", 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