Skip to content

Commit

Permalink
Fix import parties from template.
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-ide committed Dec 6, 2023
1 parent 873aba7 commit 7245bd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp/home/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1393,9 +1393,10 @@ def import_parties(target=None):
return render_template('import_parties.html', target=target, help=help, form=form)


@home_bp.route('/import_parties_2/<filename>/<template>/<is_template>', methods=['GET', 'POST'])
@home_bp.route('/import_parties_2/<filename>/<template>/<is_template>/<target>', methods=['GET', 'POST'])
@login_required
def import_parties_2(filename, template, is_template, target):
def import_parties_2(filename, template, is_template, target=None):
"""Handle the Import Responsible Parties item in Import/Export menu after a source document has been selected."""

def get_responsible_parties_for_import(eml_node):
Expand Down

0 comments on commit 7245bd7

Please sign in to comment.