Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
75d0e64bdd
13 changed files with 177 additions and 14 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue