Skip to content

Commit

Permalink
Convert OS env variable to str
Browse files Browse the repository at this point in the history
Makes pyright happy!
  • Loading branch information
kdp-cloud committed Jun 21, 2024
1 parent 546ecd5 commit dac38e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mars-cli/mars_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# Load CLI configuration
home_dir = (
pathlib.Path(os.getenv("MARS_SETTINGS_DIR"))
pathlib.Path(str(os.getenv("MARS_SETTINGS_DIR")))
if os.getenv("MARS_SETTINGS_DIR")
else pathlib.Path.home()
)
Expand Down

0 comments on commit dac38e3

Please sign in to comment.