Fix story bug

This commit is contained in:
Ruben van de Ven 2019-11-14 16:02:51 +01:00
parent 7cf2cca16e
commit 7c86747253
2 changed files with 2 additions and 2 deletions

View file

@ -1808,7 +1808,7 @@ class Story(object):
self.logger.info("Current message: ({0}) \"{1}\"".format( self.logger.info("Current message: ({0}) \"{1}\"".format(
message.id, message.getText())) message.id, message.getText()))
if message.id != self.story.startMessage.id: if message.id != self.startMessage.id:
self.addToLog(message) self.addToLog(message)
else: else:
self.logger.debug("Not counting start message") self.logger.debug("Not counting start message")

View file

@ -67,7 +67,7 @@
<img class='icon' src="/images/icon-position.svg" title="position"> <img class='icon' src="/images/icon-position.svg" title="position">
{{ hv.msg }} {{ hv.msg }}
</div> </div>
<div class='timer'> <div class='timer' v-if="hv.duration">
<img class='icon' src="/images/icon-clock.svg" title="timer"> <img class='icon' src="/images/icon-clock.svg" title="timer">
{{ timer(hv, 'duration') }} {{ timer(hv, 'duration') }}
</div> </div>