mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-05-01 14:01:19 +08:00
Add extra auth func to aviod program fail to startup
This commit is contained in:
@@ -13,6 +13,10 @@ class DownloadClient:
|
||||
def __init__(self):
|
||||
self.client = getClient()
|
||||
|
||||
def auth(self):
|
||||
host, username, password = settings.downloader.host, settings.downloader.username, settings.downloader.password
|
||||
self.client.auth(host, username, password)
|
||||
|
||||
def init_downloader(self):
|
||||
prefs = {
|
||||
"rss_auto_downloading_enabled": True,
|
||||
|
||||
Reference in New Issue
Block a user