Merge branch 'devel' of dev.sourcefabric.org:airtime into devel

This commit is contained in:
James 2011-08-15 11:10:20 -04:00
commit 75d0e64bdd
13 changed files with 177 additions and 14 deletions

View file

@ -55,6 +55,11 @@ def handle_message(body, message):
if(command == 'update_schedule'):
SCHEDULE_PUSH_MSG = m['schedule']
elif (command == 'update_timezone'):
logger.info("Setting timezone to %s", m['timezone'])
os.environ['TZ'] = m['timezone']
time.tzset()
# ACK the message to take it off the queue
message.ack()