summaryrefslogtreecommitdiff
path: root/clusterman/config.py
diff options
context:
space:
mode:
authorLoic Guegan <loic.guegan@mailbox.org>2023-10-25 15:58:01 +0200
committerLoic Guegan <loic.guegan@mailbox.org>2023-10-25 15:58:01 +0200
commit1030dd08ebe9137b01754e85ad7c9ae4182f29aa (patch)
treef50ab5ebefab45654a5d46a1c9a2a517665cb9b3 /clusterman/config.py
parentcaa032a09de387d44e814e73d345c1955f80d8b1 (diff)
Minor changes
Diffstat (limited to 'clusterman/config.py')
-rw-r--r--clusterman/config.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/clusterman/config.py b/clusterman/config.py
new file mode 100644
index 0000000..04cac10
--- /dev/null
+++ b/clusterman/config.py
@@ -0,0 +1,9 @@
+from pathlib import Path
+import os, json
+
+class Config:
+ CONF_DIR=os.path.join(os.environ['HOME'],".clusterman/")
+
+ def __init__(self):
+ Path(self.CONF_DIR).mkdir(parents=True, exist_ok=True)
+ print(self.CONF_DIR)