Skip to content

Commit 7ea164a

Browse files
committed
Normpath for nxc folder
1 parent 0b4d0bb commit 7ea164a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/paths.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
if "XDG_CONFIG_HOME" in os.environ: # noqa: SIM108
66
NXC_PATH = os.path.join(os.getenv("XDG_CONFIG_HOME"), "nxc")
77
else:
8-
NXC_PATH = os.path.expanduser("~/.nxc")
8+
NXC_PATH = os.path.normpath(os.path.expanduser("~/.nxc"))
99

1010
if os.name == "nt":
1111
TMP_PATH = os.getenv("LOCALAPPDATA") + "\\Temp\\nxc_hosted"

0 commit comments

Comments
 (0)