Skip to content

Commit

Permalink
#1157 black format
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsimpson committed May 20, 2023
1 parent bf3c24b commit e4f4efc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions subscribie/blueprints/admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,6 @@ def edit():
else:
plan_requirements.note_to_seller_required = False


plan_requirements.note_to_buyer_message = escape(
str(getPlan(form.note_to_buyer_message, index, default="").data).strip()
)
Expand Down Expand Up @@ -628,7 +627,9 @@ def edit():
if isinstance(item, str):
validation_errors.append(f"{key}: {item}")

return render_template("admin/edit.html", plans=plans, form=form, validation_errors=validation_errors)
return render_template(
"admin/edit.html", plans=plans, form=form, validation_errors=validation_errors
)


@admin.route("/add", methods=["GET", "POST"])
Expand Down

0 comments on commit e4f4efc

Please sign in to comment.