Not necessary to be bytes.

This commit is contained in:
Itamar Turner-Trauring 2021-02-10 13:35:04 -05:00
parent 6b38c8d1c9
commit 66160253e3

View File

@ -152,7 +152,7 @@ class ReloadMixin(object):
@renderer
def refresh(self, req, tag):
if self.monitor.is_finished():
return b""
return ""
tag.attributes["http-equiv"] = "refresh"
tag.attributes["content"] = str(self.REFRESH_TIME)
return tag