parsing is finally done!

This commit is contained in:
Rafael.Timmerberg 2013-06-21 01:57:32 +02:00
commit e27f14a22a
3 changed files with 7 additions and 4 deletions

View file

@ -66,4 +66,7 @@ class DatePeriod(Period):
return ret
def createJob(self, scheduler, jobInfo, func):
return scheduler.add_date_job(func, self.date, jobInfo)
try:
return scheduler.add_date_job(func=func, date=self.date, args=[jobInfo])
except Exception, e:
return None