From 31129e949275009a00a0aa35e72ee6e2915c56bd Mon Sep 17 00:00:00 2001 From: gpkvt Date: Sat, 13 Aug 2022 23:08:29 +0200 Subject: [PATCH] v1.2.3 --- CHANGELOG.md | 6 ++++++ tts.py | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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/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():