From 84103229f1f5d4861cf77b3ca769c439efbf16dd Mon Sep 17 00:00:00 2001 From: coderkun Date: Sat, 23 Nov 2024 16:35:44 +0100 Subject: [PATCH] Fix conditions using None (see #103) --- src/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.py b/src/client.py index 87c71b5..17b7522 100644 --- a/src/client.py +++ b/src/client.py @@ -1029,7 +1029,7 @@ class MCGAlbum: @staticmethod def compare(album1, album2, criterion=None, reverse=False): - if criterion == None: + if criterion is None: criterion = SortOrder.TITLE if criterion == SortOrder.ARTIST: value_function = "get_artists"