import os
basedir = os.path.abspath(os.path.dirname(__file__))

class Config:
    if os.path.isfile('.secrets'):
        f = list(map(lambda x:x.rstrip(), open('.secrets').readlines()))
    else:
        f = '   '
    SECRET_KEY = f[0] or 'kuchtopatazindagis'
    SQLALCHEMY_COMMIT_ON_TEARDOWN = True
    BLOG_ADMIN = f[1] or os.environ.get("BLOG_ADMIN")
    BLOG_PASSWD = f[2] or os.environ.get('BLOG_PASSWD')
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'data.sqlite')
    FREEZER_BASE_URL = '/blog'


    @staticmethod
    def init_app(app):
        pass


class TestConfig(Config):
    SECRET_KEY = 'Te apuntaste al DELE de mayo'
    BLOG_ADMIN = 'test'
    BLOG_PASSWD = '1234'
    TESTING = True
    WTF_CSRF_ENABLED = False
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 
                                                          'test_data.sqlite')



config = {
    'default': Config,
    'testing': TestConfig,
}

aefebc9e9ce6a10f65d8bef08b8b8c41f55ba53e
<mask token>


class Config:
    if os.path.isfile('.secrets'):
        f = list(map(lambda x: x.rstrip(), open('.secrets').readlines()))
    else:
        f = '   '
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>


class TestConfig(Config):
    SECRET_KEY = 'Te apuntaste al DELE de mayo'
    BLOG_ADMIN = 'test'
    BLOG_PASSWD = '1234'
    TESTING = True
    WTF_CSRF_ENABLED = False
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir,
        'test_data.sqlite')


<mask token>

<mask token>


class Config:
    if os.path.isfile('.secrets'):
        f = list(map(lambda x: x.rstrip(), open('.secrets').readlines()))
    else:
        f = '   '
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    @staticmethod
    def init_app(app):
        pass


class TestConfig(Config):
    SECRET_KEY = 'Te apuntaste al DELE de mayo'
    BLOG_ADMIN = 'test'
    BLOG_PASSWD = '1234'
    TESTING = True
    WTF_CSRF_ENABLED = False
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir,
        'test_data.sqlite')


<mask token>

<mask token>
basedir = os.path.abspath(os.path.dirname(__file__))


class Config:
    if os.path.isfile('.secrets'):
        f = list(map(lambda x: x.rstrip(), open('.secrets').readlines()))
    else:
        f = '   '
    SECRET_KEY = f[0] or 'kuchtopatazindagis'
    SQLALCHEMY_COMMIT_ON_TEARDOWN = True
    BLOG_ADMIN = f[1] or os.environ.get('BLOG_ADMIN')
    BLOG_PASSWD = f[2] or os.environ.get('BLOG_PASSWD')
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir,
        'data.sqlite')
    FREEZER_BASE_URL = '/blog'

    @staticmethod
    def init_app(app):
        pass


class TestConfig(Config):
    SECRET_KEY = 'Te apuntaste al DELE de mayo'
    BLOG_ADMIN = 'test'
    BLOG_PASSWD = '1234'
    TESTING = True
    WTF_CSRF_ENABLED = False
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir,
        'test_data.sqlite')


config = {'default': Config, 'testing': TestConfig}

import os
basedir = os.path.abspath(os.path.dirname(__file__))


class Config:
    if os.path.isfile('.secrets'):
        f = list(map(lambda x: x.rstrip(), open('.secrets').readlines()))
    else:
        f = '   '
    SECRET_KEY = f[0] or 'kuchtopatazindagis'
    SQLALCHEMY_COMMIT_ON_TEARDOWN = True
    BLOG_ADMIN = f[1] or os.environ.get('BLOG_ADMIN')
    BLOG_PASSWD = f[2] or os.environ.get('BLOG_PASSWD')
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir,
        'data.sqlite')
    FREEZER_BASE_URL = '/blog'

    @staticmethod
    def init_app(app):
        pass


class TestConfig(Config):
    SECRET_KEY = 'Te apuntaste al DELE de mayo'
    BLOG_ADMIN = 'test'
    BLOG_PASSWD = '1234'
    TESTING = True
    WTF_CSRF_ENABLED = False
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir,
        'test_data.sqlite')


config = {'default': Config, 'testing': TestConfig}

import os
basedir = os.path.abspath(os.path.dirname(__file__))

class Config:
    if os.path.isfile('.secrets'):
        f = list(map(lambda x:x.rstrip(), open('.secrets').readlines()))
    else:
        f = '   '
    SECRET_KEY = f[0] or 'kuchtopatazindagis'
    SQLALCHEMY_COMMIT_ON_TEARDOWN = True
    BLOG_ADMIN = f[1] or os.environ.get("BLOG_ADMIN")
    BLOG_PASSWD = f[2] or os.environ.get('BLOG_PASSWD')
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'data.sqlite')
    FREEZER_BASE_URL = '/blog'


    @staticmethod
    def init_app(app):
        pass


class TestConfig(Config):
    SECRET_KEY = 'Te apuntaste al DELE de mayo'
    BLOG_ADMIN = 'test'
    BLOG_PASSWD = '1234'
    TESTING = True
    WTF_CSRF_ENABLED = False
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 
                                                          'test_data.sqlite')



config = {
    'default': Config,
    'testing': TestConfig,
}
