Style correction

This commit is contained in:
Esteban Sánchez 2023-05-09 16:45:14 +02:00
parent 5773684369
commit 2f32c69f50

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)