Skip to content

Commit

Permalink
Add a period at the end of the slack message.
Browse files Browse the repository at this point in the history
  • Loading branch information
caarmen committed May 1, 2023
1 parent 746ce3c commit 788bce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion withingsslack/services/slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def post_weight(weight_data: WeightData):
date_str = weight_data.date.strftime("%a %d %b %Y, %H:%M")
message = (
f"<@{weight_data.slack_alias}> weighed in at "
+ f"{weight_data.weight_kg:.2f} kg on {date_str}"
+ f"{weight_data.weight_kg:.2f} kg on {date_str}."
)
requests.post(
url=settings.slack_webhook_url,
Expand Down

0 comments on commit 788bce3

Please sign in to comment.