mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-05-04 10:02:59 +00:00
Not necessary to be bytes.
This commit is contained in:
parent
6b38c8d1c9
commit
66160253e3
@ -152,7 +152,7 @@ class ReloadMixin(object):
|
|||||||
@renderer
|
@renderer
|
||||||
def refresh(self, req, tag):
|
def refresh(self, req, tag):
|
||||||
if self.monitor.is_finished():
|
if self.monitor.is_finished():
|
||||||
return b""
|
return ""
|
||||||
tag.attributes["http-equiv"] = "refresh"
|
tag.attributes["http-equiv"] = "refresh"
|
||||||
tag.attributes["content"] = str(self.REFRESH_TIME)
|
tag.attributes["content"] = str(self.REFRESH_TIME)
|
||||||
return tag
|
return tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user