Skip to content

Commit c54b53d

Browse files
authored
Update config.py
add fix so pip install works on Windows
1 parent 3ea6260 commit c54b53d

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)