Пример #1
0
def validator(value):
    return datatypes.Path(value, mode="drw")
Пример #2
0
def setter(value):
    return datatypes.Path(value, mode="drw")
Пример #3
0
def default_value():
    file_relpath = "data/tunnel/payload_prefix.php"
    file = datatypes.Path(core.BASEDIR, file_relpath)
    return file.read()