diff --git a/beets/library.py b/beets/library.py index 59a20cabf..154b2be3c 100644 --- a/beets/library.py +++ b/beets/library.py @@ -86,8 +86,7 @@ class PathQuery(dbcore.FieldQuery): colon = query_part.find(':') if colon != -1: query_part = query_part[:colon] - return (os.sep in query_part - and os.path.exists(syspath(normpath(query_part)))) + return (os.sep in query_part and os.path.exists(syspath(normpath(query_part)))) def match(self, item): path = item.path if self.case_sensitive else item.path.lower()