aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/utility')
-rw-r--r--wqflask/utility/external.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/external.py b/wqflask/utility/external.py
index bd8cf584..50afea08 100644
--- a/wqflask/utility/external.py
+++ b/wqflask/utility/external.py
@@ -5,5 +5,5 @@ import sys
import subprocess
def shell(command):
- if not subprocess.call(command, shell=True):
+ if subprocess.call(command, shell=True) != 0:
raise Exception("ERROR: failed on "+command)