tomb.py 240 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 import os _ROOT_PATH = "/bones/" _MACHINE_NAME = "JOHN_DOE" def __getTomb__(): return _MACHINE_NAME def getPath(): path = _ROOT_PATH + __getTomb__() + "/" if not os.path.exists(path): os.makedirs(path) return path