aboutsummaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authortassaron2017-07-27 18:43:02 -0400
committertassaron2017-07-27 18:43:02 -0400
commit6fc0398602c42a3d219ec92163c480c1833ab0c2 (patch)
tree299a0009b683544b2fc41936c36a1f830eac5561 /src/core.py
parentde1324a6a75eb2a9f97d8a6b416077cfc73b2bc9 (diff)
quit if project doesn't exist when exporting from commandline
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index b371d64..1c29774 100644
--- a/src/core.py
+++ b/src/core.py
@@ -214,7 +214,8 @@ class Core:
self.clearPreset(i)
if hasattr(loader, 'updateComponentTitle'):
loader.updateComponentTitle(i, modified)
-
+ self.openingProject = False
+ return True
except Exception:
errcode = 1
data = sys.exc_info()
@@ -234,7 +235,8 @@ class Core:
showCancel=False,
icon='Warning',
detail=msg)
- self.openingProject = False
+ self.openingProject = False
+ return False
def parseAvFile(self, filepath):
'''