From ff35322ae9770759516731a04fbba4979fd9a90b Mon Sep 17 00:00:00 2001 From: Martin Konecny <martin.konecny@gmail.com> Date: Sun, 17 Jun 2012 23:24:15 -0400 Subject: [PATCH] =?UTF-8?q?CC-3988:=20Pypo:=20pypo=20doesn't=20update=20la?= =?UTF-8?q?st=20schedule=20update=20time=20when=20pyp=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python_apps/pypo/pypofetch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_apps/pypo/pypofetch.py b/python_apps/pypo/pypofetch.py index 0919115ad..7517d3cdb 100644 --- a/python_apps/pypo/pypofetch.py +++ b/python_apps/pypo/pypofetch.py @@ -80,7 +80,6 @@ class PypoFetch(Thread): self.logger.info("Handling command: " + command) if command == 'update_schedule': - self.last_update_schedule_timestamp = time.time() self.schedule_data = m['schedule'] self.process_schedule(self.schedule_data) elif command == 'update_stream_setting': @@ -404,7 +403,8 @@ class PypoFetch(Thread): to the cache dir (Folder-structure: cache/YYYY-MM-DD-hh-mm-ss) - runs the cleanup routine, to get rid of unused cached files """ - def process_schedule(self, schedule_data): + def process_schedule(self, schedule_data): + self.last_update_schedule_timestamp = time.time() self.logger.debug(schedule_data) media = schedule_data["media"] media_filtered = {}