Skip to content

Commit 20fa034

Browse files
committed
fix: default value of the temp directory raw string
1 parent 7322a0f commit 20fa034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

veadk/utils/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def get_temp_dir():
159159
# First determine if it is a Windows system
160160
if sys.platform.startswith("win"):
161161
# Windows systems use the temporary directory from environment variables
162-
return os.environ.get("TEMP", os.environ.get("TMP", "C:\WINDOWS\TEMP"))
162+
return os.environ.get("TEMP", os.environ.get("TMP", r"C:\WINDOWS\TEMP"))
163163
else:
164164
# Non-Windows systems (macOS, Linux, etc.) uniformly return /tmp
165165
return "/tmp"

0 commit comments

Comments
 (0)