aboutsummaryrefslogtreecommitdiff
path: root/src/command.py
diff options
context:
space:
mode:
authortassaron2022-05-07 23:29:39 -0400
committertassaron2022-05-07 23:37:11 -0400
commitf35571743e7422088cf0f631d16d192c63f145e0 (patch)
treea7f74f7813c09ead9de846609488a2905e7eeae2 /src/command.py
parenta41b1f64ffadcd653ca7d313370bd3b018e34959 (diff)
fix
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