changeset 1218:c9fc839d304c

server: fixed BUILD_DIR page encoding following python 3 port
author Goffi <goffi@goffi.org>
date Fri, 16 Aug 2019 17:13:42 +0200
parents fe9782391f63
children 0f0c36992f3c
files libervia/server/server.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/server/server.py	Fri Aug 16 17:12:10 2019 +0200
+++ b/libervia/server/server.py	Fri Aug 16 17:13:42 2019 +0200
@@ -803,7 +803,7 @@
                 tasks_manager = TasksManager(self, res)
                 yield tasks_manager.runTasks()
                 res.putChild(
-                    C.BUILD_DIR,
+                    C.BUILD_DIR.encode('utf-8'),
                     static.File(self.getBuildPath(site_name),
                                 defaultType="application/octet-stream"),
                 )