Skip to content

Commit ae7634a

Browse files
authored
Merge pull request #134 from roboflow/fix-env-error
2 parents 3ea6260 + f105cd6 commit ae7634a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roboflow/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def get_conditional_configuration_variable(key, default):
1717
# default configuration location
1818
conf_location = os.getenv(
1919
"ROBOFLOW_CONFIG_DIR",
20-
default=os.getenv("HOME") + "/.config/roboflow/config.json",
20+
default=os.path.expanduser("~") + "/.config/roboflow/config.json",
2121
)
2222

2323
# read config file for roboflow if logged in from python or CLI

0 commit comments

Comments
 (0)