Skip to content

Commit

Permalink
Fix missing argument to fix_date when changing pr dates
Browse files Browse the repository at this point in the history
  • Loading branch information
mightynerd committed Mar 9, 2020
1 parent 3efad1e commit a327596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def modify():

form = ModifyPRForm()
if form.validate_on_submit():
start, end = fix_date(form.start_date.data, form.end_date.data)
start, end = fix_date(form.start_date.data, form.end_date.data, form.priority.data)
pr.start_date = start
pr.end_date = end
pr.priority = form.priority.data
Expand Down

0 comments on commit a327596

Please sign in to comment.