From 7fb53ead5922e1b7f4b006eb080edaa75d33383c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 17 Mar 2019 01:39:24 +0100 Subject: [PATCH] Always cast environment variable values to string --- platypush/config/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/config/__init__.py b/platypush/config/__init__.py index dbe6b936..7ec2cacf 100644 --- a/platypush/config/__init__.py +++ b/platypush/config/__init__.py @@ -106,7 +106,7 @@ class Config(object): if 'environment' in self._config: for k,v in self._config['environment']: - os.environ[k] = v + os.environ[k] = str(v) self.backends = {} self.plugins = {}