Fixed crash on evaluating quickvote results

This commit is contained in:
gpkvt 2022-10-17 00:33:06 +02:00
parent 29e92582be
commit b36279aae0
3 changed files with 9 additions and 3 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`.
## [1.7.2] - 2022-10-17
### Fixed 1.7.2
* Crash when evaluating !quickvote result
## [1.7.1] - 2022-10-02
### Fixed 1.7.1

BIN
tts.exe

Binary file not shown.

6
tts.py
View File

@ -976,8 +976,8 @@ class IRC:
logging.debug(count)
count = str(count[0][0].replace('#',''))
message = f"{CONF['MESSAGE']['VOTERESULT']} {count}"
result = str(count[0][0].replace('#',''))
message = f"{CONF['MESSAGE']['VOTERESULT']} {result}"
raw_msg = {
"TTS": True,
"msg": message ,
@ -1610,7 +1610,7 @@ if __name__ == "__main__":
sys.tracebacklimit = 3
VERSION = "1.7.1"
VERSION = "1.7.2"
CONF = {}
tts_done = []
MSG_QUEUE_RAW = []