This commit is contained in:
gpkvt 2022-08-13 23:08:29 +02:00
parent fedcc96610
commit 26e81f7aeb
3 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.
## [1.2.3] - 2022-08-14
### Fixed 1.2.2
* Message sort order
## [1.2.2] - 2022-08-13
### Changed 1.2.2

BIN
dist/tts.exe vendored

Binary file not shown.

4
tts.py
View File

@ -632,7 +632,7 @@ class HTTPserv(BaseHTTPRequestHandler):
self.end_headers()
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()):
if key not in tts_done:
@ -795,7 +795,7 @@ sys.tracebacklimit = 0
if sys.argv[1:]:
if sys.argv[1] == "--version":
print('Simple TTS Bot')
print('Version 1.2.2')
print('Version 1.2.3')
sys.exit(1)
def send_tts_queue():