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