From 7e2cd6acd3f1727413e286980370b2b3eab30366 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 20 May 2023 19:41:33 +0700 Subject: [PATCH] fix linter, take 2 --- tubearchivist/home/src/index/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubearchivist/home/src/index/filesystem.py b/tubearchivist/home/src/index/filesystem.py index 6935ff42..e0234443 100644 --- a/tubearchivist/home/src/index/filesystem.py +++ b/tubearchivist/home/src/index/filesystem.py @@ -39,7 +39,7 @@ class Scanner: for channel in channels: folder = os.path.join(self.VIDEOS, channel) files = ignore_filelist(os.listdir(folder)) - downloaded.update(set(i.split(".")[0] for i in files)) + downloaded.update({i.split(".")[0] for i in files}) return downloaded