diff options
| author | alex <alex@pdp7.net> | 2023-10-17 22:20:39 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-10-17 22:20:39 +0200 |
| commit | 83229b45e273ee659cd0e300650e549b66ed0aee (patch) | |
| tree | d52159aca48d2316702f9d6c061b49b14744bc21 /scripts/p7s/appdirs.py | |
| parent | 4dde414f7075aa14a66fa91047bf528c0faf8ed7 (diff) | |
Add Bitwarden client
Diffstat (limited to 'scripts/p7s/appdirs.py')
| -rw-r--r-- | scripts/p7s/appdirs.py | 11 |
1 files changed, 11 insertions, 0 deletions
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 |
