Skip to content

Commit

Permalink
Merge pull request #137 from NelsonDane/deepsource-transform-795a6dee
Browse files Browse the repository at this point in the history
style: format code with Black and isort
  • Loading branch information
NelsonDane authored Jan 22, 2024
2 parents 100d155 + 8d25643 commit 97614ab
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions robinhoodAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,12 @@ def robinhood_init(ROBINHOOD_EXTERNAL=None):
a["account_number"],
a["portfolio_cash"],
)
rh_obj.set_account_type(name, a["account_number"], a["brokerage_account_type"])
print(f"Found {a['brokerage_account_type']} account {maskString(a['account_number'])}")
rh_obj.set_account_type(
name, a["account_number"], a["brokerage_account_type"]
)
print(
f"Found {a['brokerage_account_type']} account {maskString(a['account_number'])}"
)
except Exception as e:
print(f"Error: Unable to log in to Robinhood: {e}")
traceback.format_exc()
Expand Down

0 comments on commit 97614ab

Please sign in to comment.