Change language of voice announcements in config file

(See ./Audio/ )
This commit is contained in:
Simon 2021-01-27 19:55:09 +00:00
parent 67db3f1acd
commit a74c02d28c

View File

@ -1830,7 +1830,7 @@ if __name__ == '__main__':
logger.info('(REPORT) TCP Socket reporting not configured')
#Read AMBE
AMBEobj = readAMBE('en_GB','./Audio/')
AMBEobj = readAMBE(CONFIG['GLOBAL']['ANNOUNCEMENT_LANGUAGE'],'./Audio/')
#global words
words = AMBEobj.readfiles()
logger.info('(AMBE) Read %s words into voice dict',len(words) - 1)