We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7322a0f commit 20fa034Copy full SHA for 20fa034
veadk/utils/misc.py
@@ -159,7 +159,7 @@ def get_temp_dir():
159
# First determine if it is a Windows system
160
if sys.platform.startswith("win"):
161
# Windows systems use the temporary directory from environment variables
162
- return os.environ.get("TEMP", os.environ.get("TMP", "C:\WINDOWS\TEMP"))
+ return os.environ.get("TEMP", os.environ.get("TMP", r"C:\WINDOWS\TEMP"))
163
else:
164
# Non-Windows systems (macOS, Linux, etc.) uniformly return /tmp
165
return "/tmp"
0 commit comments