Fix crash on variable

This commit is contained in:
Ruben van de Ven 2019-11-12 00:27:16 +01:00
parent 8f1a93f496
commit 2b63cde7e9

View file

@ -147,7 +147,7 @@ class Message(object):
self.logger.warn(f"now fetch {name} for {self.id}")
asyncio.get_event_loop().create_task(self.getAudioFilePath())
# asyncio.get_event_loop().call_soon_threadsafe(self.getAudioFilePath)
self.logger.warn(f"started {name}")
# self.logger.warn(f"started {name}")
def getVariableValue(self, var):
return self.variableValues[var] if (self.variableValues[var] is not None) else self.story.configuration.nothing_text #TODO: translate nothing to each language