Files
wiganhbc-competition/web/config.py
AcidUK 4da511a7d5 Created database class.
Tidied app.py so that it only contains controller logic.
Added error handling for if number of entrants exceeds number of possible identifiers
Updated test coverage to test for all identifiers, as well as error case
2019-07-06 12:43:49 +01:00

7 lines
111 B
Python

import os
class BaseConfig(object):
TESTING = True
DB_PATH = os.environ.get('HBC_DB_PATH', 'tests/')