Fixed typos ;-)
Thanks @hwine
This commit is contained in:
parent
bca8e11290
commit
dce81cf875
2 changed files with 4 additions and 4 deletions
|
|
@ -257,7 +257,7 @@ class SNSBackend(BaseBackend):
|
|||
return self._get_values_nexttoken(self.subscriptions, next_token)
|
||||
|
||||
def publish(self, arn, message, subject=None):
|
||||
if subject is not None and len(subject) > 100:
|
||||
if subject is not None and len(subject) >= 100:
|
||||
raise ValueError('Subject must be less than 100 characters')
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue