From e737abd58fb80b83049ff1d624f1357b3d0a23d0 Mon Sep 17 00:00:00 2001 From: JanLJL Date: Fri, 30 Aug 2019 13:53:45 +0200 Subject: [PATCH] bugifx --- osaca/frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osaca/frontend.py b/osaca/frontend.py index 3ee41a2..357437a 100755 --- a/osaca/frontend.py +++ b/osaca/frontend.py @@ -28,7 +28,7 @@ class Frontend(object): ) elif path_to_yaml: try: - assert os.path.exists(self._path) + assert os.path.exists(path_to_yaml) with open(path_to_yaml, 'r') as f: self._data = yaml.load(f, Loader=yaml.Loader) except (AssertionError, FileNotFoundError):