summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Mihai <smihai@entrouvert.com>2017-02-13 17:09:29 (GMT)
committerSerghei Mihai <smihai@entrouvert.com>2017-02-21 15:10:26 (GMT)
commitbfbe8a58037a049635cf70d79b3ddfed101d295c (patch)
treeece6c7d830f3c884dc574773e0a71391dddce6f5
parentfbd306c23d10132a58c8521cd3687791e9db945c (diff)
downloadcmsplugin-blurp-bfbe8a58037a049635cf70d79b3ddfed101d295c.zip
cmsplugin-blurp-bfbe8a58037a049635cf70d79b3ddfed101d295c.tar.gz
cmsplugin-blurp-bfbe8a58037a049635cf70d79b3ddfed101d295c.tar.bz2
blurp: convert signature key to string (#14987)v1.17
-rw-r--r--src/cmsplugin_blurp/renderers/data_source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmsplugin_blurp/renderers/data_source.py b/src/cmsplugin_blurp/renderers/data_source.py
index 0353209..76076ac 100644
--- a/src/cmsplugin_blurp/renderers/data_source.py
+++ b/src/cmsplugin_blurp/renderers/data_source.py
@@ -195,7 +195,7 @@ class Data(object):
self.async = source.get('async', False)
self.timeout = source.get('timeout', 10)
self.auth_mech = source.get('auth_mech')
- self.signature_key = source.get('signature_key')
+ self.signature_key = source.get('signature_key').encode('ascii')
self.parser_type = source.get('parser_type', 'raw')
self.content_type = source.get('content_type', self.MAPPING[self.parser_type])
self.user_context = source.get('user_context',