Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonabreul committed Nov 14, 2023
1 parent e225eb7 commit 6a855d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lean/models/brokerages/cloud/cloud_brokerage.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _get_settings(self) -> Dict[str, str]:
continue
# TODO: handle cases where tranding env config is not present, environment will still be required.
if type(config) == TradingEnvConfiguration:
value = "paper" if str(config).lower() in [
value = "paper" if config._value.lower() in [
"practice", "demo", "beta", "paper"] else "live"
elif type(config) is InternalInputUserInput:
if not config._is_conditional:
Expand Down

0 comments on commit 6a855d5

Please sign in to comment.