""" Name : Config Manager Class Purpose : Manage configurations TODO : Enchantments @author : Asiri Hewage SLIIT SE 2021 Last Update : 15/05/2020 """ import ConfigParser class ConfigManager: # initialize config manager def __init__(self): self.Config = ConfigParser.ConfigParser() self.config = ConfigParser.ConfigParser() self.conf_path = '../config/config.ini' self.config.read(self.conf_path) # get configurations def get_configs(self): configSections = self.Config.sections() return self.config