mirror of
https://github.com/beetbox/beets.git
synced 2026-01-02 14:03:12 +01:00
fix travis-ci flake8 warning
This commit is contained in:
parent
d93f723263
commit
c292b77e9e
1 changed files with 1 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue