From c292b77e9e46687ced85b8f75e75ebf530ff0547 Mon Sep 17 00:00:00 2001 From: Jesse Weinstein Date: Tue, 12 Jan 2016 22:02:12 -0800 Subject: [PATCH] fix travis-ci flake8 warning --- beets/library.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()