summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2019-04-08 08:55:39 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2019-04-08 14:05:22 (GMT)
commitf4d0ab6b09de2840001d0bbee1542bae42395431 (patch)
tree5c8f35975dd38cc4252229a7fb8e37f0b827d560
parent268e19d92b148c5a9f23c13b02200480532409a4 (diff)
downloadbijoe-f4d0ab6b09de2840001d0bbee1542bae42395431.zip
bijoe-f4d0ab6b09de2840001d0bbee1542bae42395431.tar.gz
bijoe-f4d0ab6b09de2840001d0bbee1542bae42395431.tar.bz2
hobo agent: encode site title for wcs-olap configuration file (#32071)v0.145
-rw-r--r--bijoe/hobo_agent/management/commands/hobo_deploy.py2
1 files changed, 1 insertions, 1 deletions
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: