Blame view

tomb.py 240 Bytes
Imanol-Mikel Barba Sabariego authored
1
2
import os
3
4
_ROOT_PATH = "/bones/"
_MACHINE_NAME = "JOHN_DOE"
Imanol-Mikel Barba Sabariego authored
5
6

def __getTomb__():
7
    return _MACHINE_NAME
Imanol-Mikel Barba Sabariego authored
8
9

def getPath():
10
    path = _ROOT_PATH + __getTomb__() + "/"
Imanol-Mikel Barba Sabariego authored
11
12
13
    if not os.path.exists(path):
        os.makedirs(path)
    return path