fix logging msg
This commit is contained in:
parent
255d97d42f
commit
cdf5733d59
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ class Audio(object):
|
||||||
self._duration = get_duration(self.url.encode("utf-8"))
|
self._duration = get_duration(self.url.encode("utf-8"))
|
||||||
except:
|
except:
|
||||||
logging.exception(
|
logging.exception(
|
||||||
"Errore nel calcolo della lunghezza di %s; imposto a 0"
|
"Error while computing duration of %s; set it to 0",
|
||||||
|
self.url,
|
||||||
)
|
)
|
||||||
self._duration = 0
|
self._duration = 0
|
||||||
return self._duration
|
return self._duration
|
||||||
|
|
Loading…
Reference in a new issue