# -*- coding: utf-8 -*-
import configparser
from klass.singleton import Singleton


class AppConfig(metaclass=Singleton):
    __config = None

    def __init__(self, file):
        self.__config = configparser.ConfigParser()
        self.__config.read(file)

    def section(self, name):
        return self.__config[name]

74af5fe080bec8675684fcaa342d72babe380a87
<mask token>


class AppConfig(metaclass=Singleton):
    <mask token>
    <mask token>

    def section(self, name):
        return self.__config[name]

<mask token>


class AppConfig(metaclass=Singleton):
    <mask token>

    def __init__(self, file):
        self.__config = configparser.ConfigParser()
        self.__config.read(file)

    def section(self, name):
        return self.__config[name]

<mask token>


class AppConfig(metaclass=Singleton):
    __config = None

    def __init__(self, file):
        self.__config = configparser.ConfigParser()
        self.__config.read(file)

    def section(self, name):
        return self.__config[name]

import configparser
from klass.singleton import Singleton


class AppConfig(metaclass=Singleton):
    __config = None

    def __init__(self, file):
        self.__config = configparser.ConfigParser()
        self.__config.read(file)

    def section(self, name):
        return self.__config[name]

# -*- coding: utf-8 -*-
import configparser
from klass.singleton import Singleton


class AppConfig(metaclass=Singleton):
    __config = None

    def __init__(self, file):
        self.__config = configparser.ConfigParser()
        self.__config.read(file)

    def section(self, name):
        return self.__config[name]
