Style correction

This commit is contained in:
Esteban Sánchez committed 2023-05-09 16:48:15 +02:00
1 parent 5773684369
commit 2f32c69f50
1 file changed
+3 -4
+3 -4
View File
@@ -19,12 +19,12 @@ logger = logging.getLogger()
class QbittorrentMetricsCollector():
TORRENT_STATUSES = [
"downloading",
"uploading",
"complete",
"checking",
"complete",
"downloading",
"errored",
"paused",
"uploading",
]
def __init__(self, config):
@@ -196,7 +196,6 @@ def main():
# Register signal handler
signal_handler = SignalHandler()
if not config["host"]:
logger.error("No host specified, please set QBITTORRENT_HOST environment variable")
sys.exit(1)