Skip to content

Commit 2018e55

Browse files
committed
Merge branch 'noahfields-master'
2 parents 63ae3fc + c6db18e commit 2018e55

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

robin_stocks/robinhood/authentication.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ def login(username=None, password=None, expiresIn=86400, scope='internal', by_sm
211211
return(data)
212212

213213
def _validate_sherrif_id(device_token:str, workflow_id:str,mfa_code:str):
214+
if mfa_code == None:
215+
mfa_code = input("Please type in the MFA code: ")
216+
214217
url = "https://api.robinhood.com/pathfinder/user_machine/"
215218
payload = {
216219
'device_id': device_token,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
long_description = f.read()
88

99
setup(name='robin_stocks',
10-
version='3.3.0',
10+
version='3.3.1',
1111
description='A Python wrapper around the Robinhood API',
1212
long_description=long_description,
1313
long_description_content_type='text/x-rst',

0 commit comments

Comments
 (0)