CC-3988: Pypo: pypo doesn't update last schedule update time when pyp…

This commit is contained in:
Martin Konecny 2012-06-17 23:24:15 -04:00
parent 1b5ad43197
commit ff35322ae9
1 changed files with 2 additions and 2 deletions

View File

@ -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 = {}