From e2e25eb751beb4879be6b64ddb2ded6c48301c96 Mon Sep 17 00:00:00 2001 From: Tim Mundt Date: Tue, 5 Sep 2017 11:05:31 +0200 Subject: [PATCH] fixed flake convention --- sanic/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanic/config.py b/sanic/config.py index 853e4a99..e8846465 100644 --- a/sanic/config.py +++ b/sanic/config.py @@ -131,7 +131,7 @@ class Config(dict): self.GRACEFUL_SHUTDOWN_TIMEOUT = 15.0 # 15 sec if load_env: - prefix = SANIC_PREFIX if load_env == True else load_env + prefix = SANIC_PREFIX if load_env is True else load_env self.load_environment_vars(prefix=prefix) def __getattr__(self, attr):