mirror of
https://github.com/beetbox/beets.git
synced 2026-01-03 14:32:55 +01:00
removed redundant import and redundant filename variable
This commit is contained in:
parent
3db55c7bf4
commit
253d4c76d0
1 changed files with 1 additions and 4 deletions
|
|
@ -15,8 +15,6 @@
|
|||
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
|
||||
import confuse
|
||||
|
||||
__version__ = u'1.5.0'
|
||||
|
|
@ -32,8 +30,7 @@ class IncludeLazyConfig(confuse.LazyConfig):
|
|||
|
||||
try:
|
||||
for view in self['include']:
|
||||
filename = view.as_filename()
|
||||
self.set_file(filename)
|
||||
self.set_file(view.as_filename())
|
||||
except confuse.NotFoundError:
|
||||
pass
|
||||
except confuse.ConfigReadError as err:
|
||||
|
|
|
|||
Loading…
Reference in a new issue