mirror of
https://github.com/beetbox/beets.git
synced 2025-12-14 20:43:41 +01:00
flake8 fixes
This commit is contained in:
parent
83f2e44936
commit
a6215f30a7
1 changed files with 2 additions and 2 deletions
|
|
@ -358,7 +358,7 @@ class ImportSession(object):
|
|||
"""
|
||||
for path in paths:
|
||||
if path not in self._merged_items \
|
||||
and path not in self._merged_dirs:
|
||||
and path not in self._merged_dirs:
|
||||
return False
|
||||
return True
|
||||
|
||||
|
|
@ -367,7 +367,7 @@ class ImportSession(object):
|
|||
"""
|
||||
self._merged_items.update(paths)
|
||||
dirs = set([os.path.dirname(path) if os.path.isfile(path) else path
|
||||
for path in paths])
|
||||
for path in paths])
|
||||
self._merged_dirs.update(dirs)
|
||||
|
||||
def is_resuming(self, toppath):
|
||||
|
|
|
|||
Loading…
Reference in a new issue