From 1633ce703d78d1d7b9658041511ebf3374740c5b Mon Sep 17 00:00:00 2001 From: boyska Date: Tue, 13 Feb 2018 20:28:01 +0100 Subject: [PATCH] minor: english variable names --- feed | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) 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 '