diff --git a/feed b/feed index efb494a..e99c120 100755 --- a/feed +++ b/feed @@ -42,17 +42,17 @@ def weighted_choice(values, weights): class Audio(object): - def __init__(self, url, durata=None): + def __init__(self, url, duration=None): self.url = url - if durata is None: - durata = get_duration(url.encode('utf-8')) - self.durata = durata + if duration is None: + duration = get_duration(url.encode('utf-8')) + self.duration = duration def __str__(self): return self.url def __repr__(self): - return '