Exemplo n.º 1
0
def test1():
    task = {
        "name": "fake-event",
        "action_type": "loop",
        "start": 10000,
        "end": 10001,
        "logins": ["initlove"]
    }

    e1 = GithubEventNoDB(task)
    e1.runTask()
Exemplo n.º 2
0
 def __init__(self, task_file):
     threading.Thread.__init__(self)
     self.task_file = task_file
     self.task = GithubEventNoDB(task_file)
Exemplo n.º 3
0
def event(task_file):
    r1 = GithubEventNoDB(task_file)
    r1.runTask()