From 44be726dbb84c62095f28966bff1bf02ea4cdcc6 Mon Sep 17 00:00:00 2001 From: nothink Date: Thu, 26 Jul 2018 00:11:21 +0900 Subject: [PATCH] Check Travis-CI env --- server/szurubooru/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/szurubooru/config.py b/server/szurubooru/config.py index c0e4605a..c65113a1 100644 --- a/server/szurubooru/config.py +++ b/server/szurubooru/config.py @@ -51,7 +51,7 @@ def read_config() -> Dict: if os.path.exists('../config.yaml'): with open('../config.yaml') as handle: ret = merge(ret, yaml.load(handle.read())) - if os.path.exists('/.dockerenv') and not os.getenv(CI, False): + if os.path.exists('/.dockerenv') and not os.getenv('CI', False): ret = merge(ret, docker_config()) return ret