summaryrefslogtreecommitdiff
path: root/esds/platform.py
diff options
context:
space:
mode:
Diffstat (limited to 'esds/platform.py')
-rw-r--r--esds/platform.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/esds/platform.py b/esds/platform.py
index 98adf08..508fdc4 100644
--- a/esds/platform.py
+++ b/esds/platform.py
@@ -182,7 +182,7 @@ class YAMLPlatformFile:
cb=general["breakpoints_callback"]
file=cb["file"]
path, ext=os.path.splitext(file)
- if not os.path.exists(file):
+ if not os.path.exists(os.path.join(self.location,file)):
self.parsing_error("File "+file+ " not found")
path, extension = os.path.splitext(file)
if extension != ".py":