mirror of
https://github.com/beetbox/beets.git
synced 2026-01-07 16:34:45 +01:00
fix print_ for empty strings
This commit is contained in:
parent
a0bf6112ae
commit
83dc838173
1 changed files with 2 additions and 0 deletions
|
|
@ -50,6 +50,8 @@ def print_(*strings):
|
|||
txt = u' '.join(strings)
|
||||
else:
|
||||
txt = ' '.join(strings)
|
||||
else:
|
||||
txt = u''
|
||||
if isinstance(txt, unicode):
|
||||
encoding = locale.getdefaultlocale()[1]
|
||||
txt = txt.encode(encoding, 'replace')
|
||||
|
|
|
|||
Loading…
Reference in a new issue