Rev3351, Fix sites with utf8 title

This commit is contained in:
shortcutme 2018-03-07 10:23:13 +01:00
parent e03731fd24
commit 7048987157
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.6.2"
self.rev = 3350
self.rev = 3351
self.argv = argv
self.action = None
self.config_file = "zeronet.conf"

View file

@ -248,7 +248,7 @@ class UiRequest(object):
template = open(template_path).read()
for key, val in kwargs.items():
template = template.replace("{%s}" % key, "%s" % val)
return template
return template.encode("utf8")
# - Actions -