aboutsummaryrefslogtreecommitdiff
path: root/core.py
diff options
context:
space:
mode:
authortassaron2017-06-22 20:31:04 -0400
committertassaron2017-06-22 20:31:04 -0400
commit49cda1bf3aa1800459d1085496291bec90ae6a5a (patch)
tree9c7bd4ffb01470f4c92877e22c6d039b7ddb42f1 /core.py
parentb21a953dda4ec54d494c813af8f687d53d3675d9 (diff)
can send multiple arguments to a component
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']):