(self, key, default='')
Return a setting for the given key or an empty string.
Return a setting for the given key or an empty string.
Return a setting for the given key or an empty string .
def getConfig(self, key, default=''):
        """ Return a setting for the given key or an empty string. """
        if key in self.config:
            return self.config[key][0]
        else:
            return default
def getConfig ( self , key , default = '' ) : if key in self . config : return self . config [ key ] [ 0 ] else : return default