Skip to content

Commit

Permalink
Adding override to get_user_timezone (#3871)
Browse files Browse the repository at this point in the history
overrideing the get_user_timezone() so that the updated timezone variable is used
  • Loading branch information
AlisonB319 authored Jan 5, 2023
1 parent be2c2a3 commit 988f0ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openbb_terminal/helper_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ def get_user_timezone() -> str:
str
user timezone based on .env file
"""
dotenv.load_dotenv(USER_ENV_FILE)
dotenv.load_dotenv(USER_ENV_FILE, override=True)
user_tz = os.getenv("OPENBB_TIMEZONE")
if user_tz:
return user_tz
Expand Down

0 comments on commit 988f0ae

Please sign in to comment.