Fix conditions using None (see #103)
This commit is contained in:
parent
ccf68deff7
commit
84103229f1
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue