From f43ec9050e0c1c187a290addcca41f14afdd6b6a Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 20 Jul 2014 14:19:03 +0200 Subject: [PATCH] fix id --- deefuzzer/station.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deefuzzer/station.py b/deefuzzer/station.py index 00ad065..a8935ea 100644 --- a/deefuzzer/station.py +++ b/deefuzzer/station.py @@ -141,7 +141,6 @@ class Station(Thread): self.rss_mode = int(self.station['rss']['mode']) else: self.rss_mode = 0 - self.rss_mode = int(self.station['rss']['mode']) self.rss_dir = self.station['rss']['dir'] self.rss_enclosure = self.station['rss']['enclosure'] @@ -381,6 +380,7 @@ class Station(Thread): lp_new = len(new_playlist) if not self.counter: + self.id = 0 self.playlist = new_playlist self.lp = lp_new -- 2.39.5