[misc] Fix typo

This commit is contained in:
Martin Rey 2020-10-13 10:13:06 +02:00 committed by Maike
parent eba21e8409
commit ff822bb58a

View file

@ -310,7 +310,7 @@ async def email_message_create(
logger.warning('Message was accepted: {0}'.format(message.text))
return {}
else:
logger.warning('Message was\'t accepted: {0}'.format(message.text))
logger.warning('Message wasn\'t accepted: {0}'.format(message.text))
raise HTTPException(
status_code=status.HTTP_451_UNAVAILABLE_FOR_LEGAL_REASONS
)