BotZ/api/__init__.py

8 lines
252 B
Python
Raw Permalink Normal View History

2019-08-01 00:29:28 +02:00
# -*- encoding: utf-8 -*-
2019-08-06 10:04:02 +02:00
from distutils.util import strtobool
2019-08-01 00:29:28 +02:00
import os
# TODO: create config module and put this constant there.
BASE_URI = os.environ.get("BOTZ_BASE_URI", "http://localhost")
2019-08-06 10:04:02 +02:00
DEBUG = strtobool(os.environ.get("BOTZ_DEBUG", "False"))