diff --git a/CHANGELOG.md b/CHANGELOG.md index 9db44f3..2a9a0d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/dist/tts.exe b/dist/tts.exe index 1fd9887..9238951 100644 Binary files a/dist/tts.exe and b/dist/tts.exe differ diff --git a/tts.py b/tts.py index bef7f15..babd59a 100644 --- a/tts.py +++ b/tts.py @@ -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():