コード例 #1
0
ファイル: config.py プロジェクト: youcantrytostopme/vk_bot
def parse():
    config = configparser.RawConfigParser()

    global CONF
    if not CONF and config.read(file_utils.get_file_path(_ACCOUNT_FILE)):
        CONF = config
コード例 #2
0
ファイル: log.py プロジェクト: nmakhotkin/vk_bot
def configure():
    l_c.fileConfig(
        file_utils.get_file_path('../logging.conf'),
        disable_existing_loggers=True
    )