Skip to content

Commit 4e22ac6

Browse files
authored
files_model: Fix any() call (#3753)
1 parent 9629c24 commit 4e22ac6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/windows/models/files_model.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ def filterAcceptsRow(self, sourceRow, sourceParent):
6969
index = self.sourceModel().index(sourceRow, 2, sourceParent)
7070
tags = self.sourceModel().data(index) # tags (i.e. intro, custom, etc...)
7171

72-
if any(
72+
if any([
7373
get_app().window.actionFilesShowVideo.isChecked() and media_type != "video",
7474
get_app().window.actionFilesShowAudio.isChecked() and media_type != "audio",
7575
get_app().window.actionFilesShowImage.isChecked() and media_type != "image",
76-
):
76+
]):
7777
return False
7878

7979
# Match against regex pattern

0 commit comments

Comments
 (0)