pricedb/config.py
def set(self, option: ConfigKeys, value):
        """ Sets a value in config """
        assert isinstance(option, ConfigKeys)

        # As currently we only have 1 section.
        section = SECTION
        self.config.set(section, option.name, value)
        self.save()
def set(self, option: ConfigKeys, value):
        """ Sets a value in config """
        assert isinstance(option, ConfigKeys)

        # As currently we only have 1 section.
        section = SECTION
        self.config.set(section, option.name, value)
        self.save()
def set ( self , option : ConfigKeys , value ) : assert isinstance ( option , ConfigKeys ) # As currently we only have 1 section. section = SECTION self . config . set ( section , option . name , value ) self . save ( )
Sets a value in config
Sets a value in config