aboutsummaryrefslogtreecommitdiff
path: root/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'core.py')
-rw-r--r--core.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/core.py b/core.py
index 2177071..ba71b82 100644
--- a/core.py
+++ b/core.py
@@ -160,8 +160,11 @@ class Core():
''' loader is the object calling this method which must have
its own showMessage(**kwargs) method for displaying errors.
'''
+ if not os.path.exists(filepath):
+ loader.showMessage(msg='Project file not found')
+ return
+
errcode, data = self.parseAvFile(filepath)
- #print(data)
if errcode == 0:
try:
for i, tup in enumerate(data['Components']):