diff --git a/platypush/config/__init__.py b/platypush/config/__init__.py index 7ec2cacfb7..be6c2abd94 100644 --- a/platypush/config/__init__.py +++ b/platypush/config/__init__.py @@ -105,7 +105,7 @@ class Config(object): self._config['device_id'] = socket.gethostname() if 'environment' in self._config: - for k,v in self._config['environment']: + for k,v in self._config['environment'].items(): os.environ[k] = str(v) self.backends = {}