mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2025-05-23 08:39:30 +00:00
Style correction
This commit is contained in:
parent
5773684369
commit
2f32c69f50
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user