Fix assembly date calculation
This commit is contained in:
parent
77534b1f09
commit
e4d554e080
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ mail_footer = os.getenv('MAIL_FOOTER').replace("\\n","\n")
|
|||
def main(args):
|
||||
|
||||
assembly_date = str(datetime.date.today() +\
|
||||
datetime.timedelta((datetime.date.today().weekday()) % 7))
|
||||
datetime.timedelta(datetime.date.today().weekday() % 7 + 1))
|
||||
requires_assembly = redmine_get_requires_assembly_id()
|
||||
log(1,"Assembly topics:\n")
|
||||
issues = redmine_get_issues(requires_assembly)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue