From e5956e80a3b88170005c351dadb6df4d03a590d1 Mon Sep 17 00:00:00 2001 From: nothink Date: Thu, 26 Jul 2018 02:04:34 +0900 Subject: [PATCH] Fix config.py --- .travis.yml | 1 - server/szurubooru/config.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a54c7e82..0275d373 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,6 @@ matrix: include: - language: python python: - - "3.5" - "3.6" before_install: - sudo apt-get -y install software-properties-common diff --git a/server/szurubooru/config.py b/server/szurubooru/config.py index ccead679..f79937bf 100644 --- a/server/szurubooru/config.py +++ b/server/szurubooru/config.py @@ -23,7 +23,7 @@ def docker_config() -> Dict: 'POSTGRES_HOST', 'ESEARCH_HOST' ]: - if not os.getenv(key, False) and os.getenv('CI') != 'true': + if not os.getenv(key, False): raise errors.ConfigError(f'Environment variable "{key}" not set') return { 'debug': True,