Skip to content

Commit 4afc674

Browse files
ruff: apply ruff
1 parent cfbfeec commit 4afc674

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

nxc/paths.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
import nxc
44

55
NXC_PATH = os.path.expanduser("~/.nxc")
6-
if os.name == "nt":
7-
TMP_PATH = os.getenv("LOCALAPPDATA") + "\\Temp\\nxc_hosted"
8-
else:
9-
TMP_PATH = os.path.join("/tmp", "nxc_hosted")
6+
TMP_PATH = os.getenv("LOCALAPPDATA") + "\\Temp\\nxc_hosted" if os.name == "nt" else os.path.join("/tmp", "nxc_hosted")
107
if hasattr(sys, "getandroidapilevel"):
118
TMP_PATH = os.path.join("/data", "data", "com.termux", "files", "usr", "tmp", "nxc_hosted")
129

0 commit comments

Comments
 (0)