8000 Merge pull request #242 from twilio/remote-pyjwt · sangsiri/twilio-python@fbeb373 · GitHub
[go: up one dir, main page]

Skip to content

Commit fbeb373

Browse files
committed
Merge pull request twilio#242 from twilio/remote-pyjwt
Remove pyjwt
2 parents a2d36d3 + 5c15ead commit fbeb373

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
six
22
httplib2
33
socksipy-branch
4-
pyjwt

twilio/access_token.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import time
2-
import jwt
2+
from twilio import jwt
33

44

55
class IpMessagingGrant(object):
@@ -91,4 +91,4 @@ def to_jwt(self, algorithm='HS256'):
9191
algorithm=algorithm)
9292

9393
def __str__(self):
94-
return self.to_jwt().decode('utf-8')
94+
return self.to_jwt()

0 commit comments

Comments
 (0)
0