BotZ/api/__init__.py

8 lines
252 B
Python

# -*- encoding: utf-8 -*-
from distutils.util import strtobool
import os
# TODO: create config module and put this constant there.
BASE_URI = os.environ.get("BOTZ_BASE_URI", "http://localhost")
DEBUG = strtobool(os.environ.get("BOTZ_DEBUG", "False"))