aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-06-03 15:41:20 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-06-03 15:41:20 +0100
commit1aa454403769a10c4364e53f43a4bb656dc9f06a (patch)
treed23ac212ee9fd907e6c7a3e30f97633c78588f02
parentbump version (diff)
downloadAnnotateChange-1aa454403769a10c4364e53f43a4bb656dc9f06a.tar.gz
AnnotateChange-1aa454403769a10c4364e53f43a4bb656dc9f06a.zip
Bugfix for config variables
-rw-r--r--app/__init__.py2
-rw-r--r--config.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/__init__.py b/app/__init__.py
index b160f5e..c26e1c2 100644
--- a/app/__init__.py
+++ b/app/__init__.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-__version__ = "0.2.0"
+__version__ = "0.2.1"
import logging
import os
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 ""