This commit is contained in:
JanLJL
2019-07-24 11:53:02 +02:00
parent 832fa4e241
commit b031b887a6

View File

@@ -26,7 +26,7 @@ class Frontend(object):
)
elif path_to_yaml:
try:
with open(self._path, 'r') as f:
with open(path_to_yaml, 'r') as f:
self._data = yaml.load(f, Loader=yaml.Loader)
except AssertionError:
raise ValueError(