aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xyahoozy.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/yahoozy.py b/yahoozy.py
index 9eba0bf..62b5478 100755
--- a/yahoozy.py
+++ b/yahoozy.py
@@ -800,9 +800,8 @@ def histhandle(mode: str) -> TextIO:
elif os.name == "posix":
if (path := os.getenv("XDG_DATA_HOME")) == "":
assert (path := os.getenv("HOME"))
- path = Path(path) / ".local" / "share" / "yahoozy"
- else:
- path = Path(path) / "yahoozy"
+ path = Path(path) / ".local" / "share"
+ path = Path(path) / "yahoozy"
else:
raise NotImplementedError(f"No history support for {os.name}")