diff --git a/plugins/Sidebar/SidebarPlugin.py b/plugins/Sidebar/SidebarPlugin.py
index 1724a078..934bd6f9 100644
--- a/plugins/Sidebar/SidebarPlugin.py
+++ b/plugins/Sidebar/SidebarPlugin.py
@@ -143,7 +143,7 @@ class UiWebsocketPlugin(object):
size = size_filetypes.get(extension, 0)
size_other -= size
percent = 100 * (float(size) / size_total)
- body.append("
" % (percent, extension, color, extension))
+ body.append(u"" % (percent, extension, color, extension))
# Legend
body.append("")
@@ -167,7 +167,7 @@ class UiWebsocketPlugin(object):
else:
size_formatted = "%.0fkB" % (size / 1024)
- body.append("- %s:%s
" % (color, title, size_formatted))
+ body.append(u"- %s:%s
" % (color, title, size_formatted))
body.append("
")
@@ -207,7 +207,7 @@ class UiWebsocketPlugin(object):
inner_path = site.storage.getInnerPath(site.storage.db.db_path)
size = float(site.storage.getSize(inner_path)) / 1024
- body.append("""
+ body.append(u"""
@@ -241,7 +241,7 @@ class UiWebsocketPlugin(object):
description = cgi.escape(site.content_manager.contents["content.json"]["description"], True)
privatekey = cgi.escape(self.user.getSiteData(site.address, create=False).get("privatekey", ""))
- body.append("""
+ body.append(u"""
@@ -270,7 +270,7 @@ class UiWebsocketPlugin(object):
""")
for inner_path in sorted(site.content_manager.contents.keys()):
- body.append("" % cgi.escape(inner_path, True))
+ body.append(u"" % cgi.escape(inner_path, True))
body.append("""
diff --git a/src/Config.py b/src/Config.py
index 4992d636..5ae77188 100644
--- a/src/Config.py
+++ b/src/Config.py
@@ -8,7 +8,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.3.2"
- self.rev = 493
+ self.rev = 494
self.argv = argv
self.action = None
self.createParser()