更新 qbittorrent.py

This commit is contained in:
jxxghp 2024-02-15 21:49:34 +08:00 committed by GitHub
parent a6ad58ca33
commit 5639e0b7d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,11 +8,10 @@ from qbittorrentapi.transfer import TransferInfoDictionary
from app.core.config import settings from app.core.config import settings
from app.log import logger from app.log import logger
from app.utils.singleton import Singleton
from app.utils.string import StringUtils from app.utils.string import StringUtils
class Qbittorrent(metaclass=Singleton): class Qbittorrent:
_host: str = None _host: str = None
_port: int = None _port: int = None
_username: str = None _username: str = None