diff --git a/app/modules/transmission/transmission.py b/app/modules/transmission/transmission.py index 6b42cde8..0f0193d9 100644 --- a/app/modules/transmission/transmission.py +++ b/app/modules/transmission/transmission.py @@ -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: diff --git a/app/plugins/torrentremover/__init__.py b/app/plugins/torrentremover/__init__.py index d312f7da..27c9fee3 100644 --- a/app/plugins/torrentremover/__init__.py +++ b/app/plugins/torrentremover/__init__.py @@ -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]]: