From 83229b45e273ee659cd0e300650e549b66ed0aee Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 17 Oct 2023 22:20:39 +0200 Subject: Add Bitwarden client --- scripts/p7s/appdirs.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/p7s/appdirs.py (limited to 'scripts/p7s/appdirs.py') diff --git a/scripts/p7s/appdirs.py b/scripts/p7s/appdirs.py new file mode 100644 index 00000000..9ff0ca80 --- /dev/null +++ b/scripts/p7s/appdirs.py @@ -0,0 +1,11 @@ +import appdirs +import pathlib + + +APPDIRS = appdirs.AppDirs("p7s", "alex@pdp7.net") + + +def user_cache_dir(): + r = pathlib.Path(APPDIRS.user_cache_dir) + r.mkdir(parents=True, exist_ok=True) + return r -- cgit v1.2.3