This commit is contained in:
gpkvt 2022-08-13 23:08:29 +02:00
parent fa487a41da
commit 31129e9492
2 changed files with 8 additions and 2 deletions

View File

@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file. If there is a `Changed` section please read carefully, as this often means that you will need to adapt your `config.yml`, otherwise the bot might fail to start. All notable changes to this project will be documented in this file. If there is a `Changed` section please read carefully, as this often means that you will need to adapt your `config.yml`, otherwise the bot might fail to start.
## [1.2.3] - 2022-08-14
### Fixed 1.2.2
* Message sort order
## [1.2.2] - 2022-08-13 ## [1.2.2] - 2022-08-13
### Changed 1.2.2 ### Changed 1.2.2

4
tts.py
View File

@ -632,7 +632,7 @@ class HTTPserv(BaseHTTPRequestHandler):
self.end_headers() self.end_headers()
usermap = conf['USERMAP'] usermap = conf['USERMAP']
sorted_tts = {k: msg_queue[k] for k in sorted(msg_queue, reverse=False)} sorted_tts = {k: msg_queue[k] for k in sorted(msg_queue, reverse=True)}
for key in list(sorted_tts.keys()): for key in list(sorted_tts.keys()):
if key not in tts_done: if key not in tts_done:
@ -795,7 +795,7 @@ sys.tracebacklimit = 0
if sys.argv[1:]: if sys.argv[1:]:
if sys.argv[1] == "--version": if sys.argv[1] == "--version":
print('Simple TTS Bot') print('Simple TTS Bot')
print('Version 1.2.2') print('Version 1.2.3')
sys.exit(1) sys.exit(1)
def send_tts_queue(): def send_tts_queue():