Example #1
0
def do_activate(text):
    result = re.findall(cmd_activate, text)
    if result:
        activate(result[0])
        return "Function [%s] activated successfully" % result[0]
Example #2
0
def do_activate(text):
    result = re.findall(cmd_activate, text)
    if result:
        activate(result[0])
        return "Plugin [%s] activated successfully" % result[0]