Merge pull request #197 from ZeusWPI/remove-dot-title-from-username

Don't title username
This commit is contained in:
redfast00 2022-06-03 19:36:54 +02:00 committed by GitHub
commit 9c4361ab1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ def webhook_text(order: Order) -> typing.Optional[str]:
url_for("order_bp.order_from_slug", order_slug=order.slug, _external=True), url_for("order_bp.order_from_slug", order_slug=order.slug, _external=True),
order.location_name, order.location_name,
remaining_minutes(order.stoptime), remaining_minutes(order.stoptime),
order.courier.username.title(), order.courier.username,
) )
# pylint: disable=C0209 # pylint: disable=C0209