diff --git a/config.ini b/config.ini deleted file mode 100644 index e345996..0000000 --- a/config.ini +++ /dev/null @@ -1,4 +0,0 @@ -# config.ini - -[user] -BCRYPT_LOG_ROUNDS : 13 \ No newline at end of file diff --git a/cookie_api/models.py b/cookie_api/models.py index c04cd8c..3a2823d 100644 --- a/cookie_api/models.py +++ b/cookie_api/models.py @@ -8,11 +8,7 @@ from sqlalchemy.sql import expression from sqlalchemy.ext.compiler import compiles from sqlalchemy.types import DateTime as DateTimeType -cfg = ConfigParser() -cfg.read('config.ini') - -BCRYPT_LOG_ROUNDS = int(cfg.get('user', 'BCRYPT_LOG_ROUNDS')) - +BCRYPT_LOG_ROUNDS = 13 # can be moved to models util? class utcnow(expression.FunctionElement):