From 2497249b8cecaf5c701b0dc65060633fefe5a124 Mon Sep 17 00:00:00 2001 From: Gab Date: Tue, 20 Oct 2020 02:10:39 -0400 Subject: [PATCH] Fixed indentation --- qbittorrent_exporter/exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent_exporter/exporter.py b/qbittorrent_exporter/exporter.py index dbb495b..94d924c 100644 --- a/qbittorrent_exporter/exporter.py +++ b/qbittorrent_exporter/exporter.py @@ -128,7 +128,7 @@ class QbittorrentMetricsCollector(): if self.INCLUDE_UNCATEGORIZED: categories.Uncategorized = AttrDict({'name': 'Uncategorized', 'savePath': ''}) for category in categories: -category_torrents = [t for t in self.torrents if t['category'] == category or (self.INCLUDE_UNCATEGORIZED and category == "Uncategorized" and t['category'] == "")] + category_torrents = [t for t in self.torrents if t['category'] == category or (self.INCLUDE_UNCATEGORIZED and category == "Uncategorized" and t['category'] == "")] for status in self.TORRENT_STATUSES: status_prop = f"is_{status}"