summaryrefslogtreecommitdiff
path: root/clusterman/config.py
blob: 04cac102d0979ea260b8d99b217a9862c9775e4b (plain)
1
2
3
4
5
6
7
8
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)