Skip to content
This repository was archived by the owner on Sep 9, 2022. It is now read-only.

Commit e88d9f2

Browse files
committed
fixup! add biometric login
1 parent a5286ef commit e88d9f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

revolut/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def get_token_step2(device_id, phone, code, simulate=False):
508508
def extract_token(json_response):
509509
user_id = json_response["user"]["id"]
510510
access_token = json_response["accessToken"]
511-
token_to_encode = '{}:{}'.format(user_id, access_token).encode("ascii")
511+
token_to_encode = "{}:{}".format(user_id, access_token).encode("ascii")
512512
# Ascii encoding required by b64encode function : 8 bits char as input
513513
token = base64.b64encode(token_to_encode)
514514
return token.decode("ascii")

0 commit comments

Comments
 (0)