mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 13:07:09 +01:00
Fixed variable referenced before assignment.
This commit is contained in:
parent
0c7823b4a5
commit
f72172aaa2
1 changed files with 1 additions and 1 deletions
|
|
@ -857,7 +857,7 @@ def import_files(lib, paths, query):
|
|||
loghandler = logging.FileHandler(logpath)
|
||||
except IOError:
|
||||
raise ui.UserError(u"could not open log file for writing: "
|
||||
u"{0}".format(displayable_path(loghandler)))
|
||||
u"{0}".format(displayable_path(logpath)))
|
||||
else:
|
||||
loghandler = None
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue