def get_config(key):
    '''
    Get an identicon configuration parameter.

    Precedance order is:
        - application config (`udata.cfg`)
        - theme config
        - default
    '''
    key = 'AVATAR_{0}'.format(key.upper())
    local_config = current_app.config.get(key)
    return local_config or getattr(theme.current, key, DEFAULTS[key])
def get_config ( key ) : key = 'AVATAR_{0}' . format ( key . upper ( ) ) local_config = current_app . config . get ( key ) return local_config or getattr ( theme . current , key , DEFAULTS [ key ] )
Get an identicon configuration parameter.

    Precedance order is:
        - application config (`udata.cfg`)
        - theme config
        - default