This repository has been archived on 2025-06-17. You can view files and clone it, but cannot push or open issues or pull requests.
web-backend/conf/util.py

10 lines
221 B
Python

import configparser
config_file_path = "config.ini"
def get_config_object():
""" 返回配置对象 """
config = configparser.ConfigParser()
config.read(config_file_path, encoding='utf-8')
return config