Files
Pennyw0rth-NetExec/cme/helpers/bash.py
T
Marshall Hallenbeck 852b2059d7 refactor: add DATA_PATH
2023-04-05 19:38:36 -04:00

10 lines
203 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
from cme.paths import DATA_PATH
def get_script(path):
with open(os.path.join(DATA_PATH, path), 'r') as script:
return script.read()