commit
f1ef102a8d
@ -26,7 +26,7 @@ class Transmission(metaclass=Singleton):
|
||||
"error", "errorString", "doneDate", "queuePosition", "activityDate", "trackers"]
|
||||
|
||||
def __init__(self):
|
||||
self._host, self._port = StringUtils.get_domain_address(settings.QB_HOST)
|
||||
self._host, self._port = StringUtils.get_domain_address(settings.TR_HOST)
|
||||
self._username = settings.TR_USER
|
||||
self._password = settings.TR_PASSWORD
|
||||
if self._host and self._port and self._username and self._password:
|
||||
|
@ -132,7 +132,7 @@ class TorrentRemover(_PluginBase):
|
||||
})
|
||||
|
||||
def get_state(self) -> bool:
|
||||
return self._enabled and self._cron and self._downloaders
|
||||
return self._enabled and True if self._cron and self._downloaders else False
|
||||
|
||||
@staticmethod
|
||||
def get_command() -> List[Dict[str, Any]]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user