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

schedule from the server

- fixed
This commit is contained in:
James 2012-06-15 21:31:08 -04:00
parent bb54a9041f
commit 53af1928cf
1 changed files with 1 additions and 1 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':
@ -405,6 +404,7 @@ class PypoFetch(Thread):
- runs the cleanup routine, to get rid of unused cached files
"""
def process_schedule(self, schedule_data):
self.last_update_schedule_timestamp = time.time()
self.logger.debug(schedule_data)
media = schedule_data["media"]
media_filtered = {}