whitespacing.... :)
This commit is contained in:
parent
2c40772796
commit
883e59a3d1
22 changed files with 66 additions and 109 deletions
|
|
@ -4,6 +4,7 @@ The email task.
|
|||
|
||||
from lib.tasks.task import Task
|
||||
|
||||
|
||||
class EmailTask(Task):
|
||||
def __init__(self, **kwargs):
|
||||
if not "type" in kwargs:
|
||||
|
|
@ -12,13 +13,10 @@ class EmailTask(Task):
|
|||
raise Exception("typeDict " + str(kwargs) + " has nor arguments!")
|
||||
self.set_task_type(kwargs["type"])
|
||||
self.recipient = kwargs["args"]["rcpt"]
|
||||
|
||||
|
||||
|
||||
def execute_task(self, msg):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
def creator(**taskDict):
|
||||
return EmailTask(**taskDict)
|
||||
Loading…
Add table
Add a link
Reference in a new issue