@@ -0,0 +1,10 @@
import yaml
def read_config(path):
# read yaml and return contents
with open(path, 'r') as file:
try:
return yaml.safe_load(file)
except yaml.YAMLError as exc:
print(exc)
The note is not visible to the blocked user.