Files
dusklight/tools/libgithub/state.py
T
Pheenoh 3de344a67f Github Projects (#1872)
* github projects

* add project prefixes
2023-08-09 16:27:37 -06:00

9 lines
199 B
Python

import yaml, pathlib
class StateFile:
data = None
@classmethod
def load(self, file_name: pathlib.Path):
with open(file_name, 'r') as f:
self.data = yaml.safe_load(f)