mirror of
https://github.com/beetbox/beets.git
synced 2025-12-07 17:16:07 +01:00
Slightly terser get call for #3517
This commit is contained in:
parent
5d39d024a4
commit
b34d1f71a9
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ class NoneQuery(FieldQuery):
|
|||
return self.field + " IS NULL", ()
|
||||
|
||||
def match(self, item):
|
||||
return item.get(self.field, default=None) is None
|
||||
return item.get(self.field) is None
|
||||
|
||||
def __repr__(self):
|
||||
return "{0.__class__.__name__}({0.field!r}, {0.fast})".format(self)
|
||||
|
|
|
|||
Loading…
Reference in a new issue