Skip to content

Commit

Permalink
Merge pull request #960 from alexjane19/patch-3
Browse files Browse the repository at this point in the history
Update operations.py convert long_content_max_parts to int
  • Loading branch information
farirat committed Feb 18, 2021
2 parents 48889b1 + 4099bcf commit a826105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jasmin/protocols/smpp/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(self, config=None, long_content_max_parts=5, long_content_split='sa
else:
self.config = SMPPClientConfig(**{'id': 'anyid'})

self.long_content_max_parts = long_content_max_parts
self.long_content_max_parts = int(long_content_max_parts)
if isinstance(long_content_split, bytes):
long_content_split = long_content_split.decode()
self.long_content_split = long_content_split
Expand Down

0 comments on commit a826105

Please sign in to comment.