Skip to content
This repository was archived by the owner on Aug 10, 2023. It is now read-only.

Commit 808d4c1

Browse files
author
Antonio
committed
close #1405
1 parent a413fb2 commit 808d4c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/revChatGPT/V1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def __init__(
113113
Raises:
114114
Exception: _description_
115115
"""
116-
user_home = getenv("HOME")
116+
user_home = getenv("HOME") or getenv("USERPROFILE")
117117
if user_home is None:
118118
user_home = Path().cwd()
119119
self.cache_path = Path(Path().cwd(), ".chatgpt_cache.json")

0 commit comments

Comments
 (0)