Skip to content

Commit

Permalink
Merge pull request #581 from AevumDecessus/fragbot_encoding
Browse files Browse the repository at this point in the history
Encode fragbot calls in utf-8
  • Loading branch information
AevumDecessus committed Apr 14, 2023
2 parents 01e701a + 749d58d commit 1ecd4d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffdonations/tasks/sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def note_new_donation(self, donationID):
payload = {
'webauth': settings.FRAG_BOT_KEY,
'user': settings.FRAG_BOT_BOT,
'message': message,
'message': message.encode('utf-8'),
}
r = requests.put(settings.FRAG_BOT_API, headers=payload)
r.raise_for_status()
Expand Down

0 comments on commit 1ecd4d0

Please sign in to comment.