remove whitespace
This commit is contained in:
parent
1f7e0ce042
commit
5df867d142
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ def normalize_mutagen(path):
|
||||||
md['sample_rate'] = getattr(m.info, 'sample_rate', 0)
|
md['sample_rate'] = getattr(m.info, 'sample_rate', 0)
|
||||||
md['mime'] = m.mime[0] if len(m.mime) > 0 else u''
|
md['mime'] = m.mime[0] if len(m.mime) > 0 else u''
|
||||||
md['path'] = normpath(path)
|
md['path'] = normpath(path)
|
||||||
|
|
||||||
# silence detect(set default queue in and out)
|
# silence detect(set default queue in and out)
|
||||||
try:
|
try:
|
||||||
command = ['silan', '-f', 'JSON', md['path']]
|
command = ['silan', '-f', 'JSON', md['path']]
|
||||||
|
@ -181,7 +181,7 @@ def normalize_mutagen(path):
|
||||||
except Exception:
|
except Exception:
|
||||||
logger = logging.getLogger()
|
logger = logging.getLogger()
|
||||||
logger.info('silan is missing')
|
logger.info('silan is missing')
|
||||||
|
|
||||||
if 'title' not in md: md['title'] = u''
|
if 'title' not in md: md['title'] = u''
|
||||||
return md
|
return md
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue