aboutsummaryrefslogtreecommitdiff
path: root/src/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.py')
-rw-r--r--src/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.py b/src/command.py
index 0ad2545..da96b6b 100644
--- a/src/command.py
+++ b/src/command.py
@@ -138,7 +138,7 @@ class Command(QtCore.QObject):
for key, value in data['WindowFields']:
if 'outputFile' in key:
output = value
- if not os.path.dirname(value):
+ if output and not os.path.dirname(value):
output = os.path.join(
os.path.expanduser('~'),
output