kiafumi/configmanager.py

17 lines
390 B
Python

import configparser
import logging
class LoggingManager():
logging.basicConfig(level=logging.INFO)
log = logging.getLogger()
class ConfigManager():
def get():
config = configparser.ConfigParser()
config.read('config.ini')
return config
def set():
config = configparser.ConfigParser()
config.read('config.ini')
return config