Blame view

tomb.py 252 Bytes
Imanol-Mikel Barba Sabariego authored
1
2
3
import os

__ROOT_PATH__ = "/bones/"
Imanol-Mikel Barba Sabariego authored
4
__MACHINE_NAME__ = "JOHN_DOE"
Imanol-Mikel Barba Sabariego authored
5
6

def __getTomb__():
Imanol-Mikel Barba Sabariego authored
7
    return __MACHINE_NAME__
Imanol-Mikel Barba Sabariego authored
8
9
10
11
12
13

def getPath():
    path = __ROOT_PATH__ + __getTomb__() + "/"
    if not os.path.exists(path):
        os.makedirs(path)
    return path