From 1aa454403769a10c4364e53f43a4bb656dc9f06a Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 3 Jun 2019 15:41:20 +0100 Subject: Bugfix for config variables --- config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.py') diff --git a/config.py b/config.py index 7ca18ed..a7dfe93 100644 --- a/config.py +++ b/config.py @@ -48,8 +48,8 @@ class Config(object): TEMP_DIR = "tmp" # task distribution settings - TASKS_MAX_PER_USER =int(os.environ.get("TASKS_MAX_PER_USER")) or 5 - TASKS_NUM_PER_DATASET = int(os.environ.get("TASKS_NUM_PER_DATASET")) or 10 + TASKS_MAX_PER_USER =int(os.environ.get("TASKS_MAX_PER_USER") or 5) + TASKS_NUM_PER_DATASET = int(os.environ.get("TASKS_NUM_PER_DATASET") or 10) # user emails allowed USER_EMAIL_DOMAINS = os.environ.get("USER_EMAIL_DOMAINS") or "" -- cgit v1.2.3