From f4d0ab6b09de2840001d0bbee1542bae42395431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 8 Apr 2019 10:55:39 +0200 Subject: [PATCH] hobo agent: encode site title for wcs-olap configuration file (#32071) --- bijoe/hobo_agent/management/commands/hobo_deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bijoe/hobo_agent/management/commands/hobo_deploy.py b/bijoe/hobo_agent/management/commands/hobo_deploy.py index 045364e..790204b 100644 --- a/bijoe/hobo_agent/management/commands/hobo_deploy.py +++ b/bijoe/hobo_agent/management/commands/hobo_deploy.py @@ -80,7 +80,7 @@ class Command(hobo_deploy.Command): config.set(base_url, 'orig', orig) config.set(base_url, 'key', key) config.set(base_url, 'schema', schema) - config.set(base_url, 'cubes_label', service.get('title')) + config.set(base_url, 'cubes_label', service.get('title').encode('utf-8')) if new: config.set(base_url, 'cubes_slug', service.get('slug')) with open(ini_file, 'w') as f: