diff --git a/gunicorn/config.py b/gunicorn/config.py index 0e689d2e8..67d9116de 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -167,7 +167,7 @@ def env(self): for e in raw_env: s = six.bytes_to_str(e) try: - k, v = s.split('=') + k, v = s.split('=', 1) except ValueError: raise RuntimeError("environement setting %r invalid" % s)