Fix #40 - log of voice has variables replaced

This commit is contained in:
Ruben van de Ven 2019-04-28 17:31:02 +02:00
parent a0d058d921
commit 2859aef12e

View file

@ -1186,9 +1186,9 @@ class Story(object):
# self.currentReply = self.currentMessage.reply
self.logger.info("Current message: ({0}) \"{1}\"".format(
message.id, message.text))
message.id, message.getText()))
self.addToLog(message)
self.hugvey.eventLogger.info(f"message: {message.id} {message.uuid} start \"{message.text}\"")
self.hugvey.eventLogger.info(f"message: {message.id} {message.uuid} start \"{message.getText()}\"")
# TODO: prep events & timer etc.
fn = await message.getAudioFilePath()