bug fixes and work on fs

This commit is contained in:
Kevin Froman 2018-10-02 00:02:05 -05:00
parent 5f67cc388f
commit 0b9bb42927
4 changed files with 19 additions and 5 deletions

View file

@ -45,9 +45,9 @@ class OnionrFlow:
self.flowRunning = False
if message == "q":
self.flowRunning = False
expireTime = self.myCore._utils.getEpoch() + 43200
if len(message) > 0:
Block(content = message, type = 'txt', core = self.myCore).save()
Block(content = message, type = 'txt', expire=expireTime, core = self.myCore).save()
logger.info("Flow is exiting, goodbye")
return