Exemplo n.º 1
0
 def ui_setgroup_config(self, k, v):
     config['target'][k] = v
     config.save()
Exemplo n.º 2
0
    def __init__(self, *args, **kwargs):
        super(TargetsNode, self).__init__(*args, **kwargs)

        if not 'target' in config:
            config['target'] = {}
            config.save()