Fix crash on variable
This commit is contained in:
parent
8f1a93f496
commit
2b63cde7e9
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ class Message(object):
|
||||||
self.logger.warn(f"now fetch {name} for {self.id}")
|
self.logger.warn(f"now fetch {name} for {self.id}")
|
||||||
asyncio.get_event_loop().create_task(self.getAudioFilePath())
|
asyncio.get_event_loop().create_task(self.getAudioFilePath())
|
||||||
# asyncio.get_event_loop().call_soon_threadsafe(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):
|
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
|
return self.variableValues[var] if (self.variableValues[var] is not None) else self.story.configuration.nothing_text #TODO: translate nothing to each language
|
||||||
|
|
Loading…
Reference in a new issue