mirror of
https://github.com/beetbox/beets.git
synced 2025-12-31 21:12:43 +01:00
fix different travis-ci flake8 warning
This commit is contained in:
parent
c292b77e9e
commit
ab2b1fa900
1 changed files with 2 additions and 1 deletions
|
|
@ -86,7 +86,8 @@ 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