mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 03:22:39 +01:00
Fix null sort broken by b1c58e9
This commit is contained in:
parent
77b48bac7e
commit
46179850c5
1 changed files with 2 additions and 2 deletions
|
|
@ -841,8 +841,8 @@ class SlowFieldSort(FieldSort):
|
|||
|
||||
class NullSort(Sort):
|
||||
"""No sorting. Leave results unsorted."""
|
||||
def sort(self):
|
||||
return self
|
||||
def sort(self, items):
|
||||
return items
|
||||
|
||||
def __nonzero__(self):
|
||||
return self.__bool__()
|
||||
|
|
|
|||
Loading…
Reference in a new issue