put formatting reset after !seen info (so colors can't leak)

This commit is contained in:
jesopo 2019-06-05 20:52:25 +01:00
parent 8fe5098739
commit 4055e7c21f

View file

@ -35,7 +35,7 @@ class Module(ModuleManager.BaseModule):
if seen_seconds: if seen_seconds:
seen_info = user.get_setting("seen-info", None) seen_info = user.get_setting("seen-info", None)
seen_info = "" if seen_info == None else ( seen_info = "" if seen_info == None else (
" (%s)" % seen_info["action"]) " (%s%s)" % (seen_info["action"], utils.consts.RESET))
since = utils.to_pretty_time(time.time()-seen_seconds, since = utils.to_pretty_time(time.time()-seen_seconds,
max_units=2) max_units=2)