aboutsummaryrefslogtreecommitdiff
path: root/tools/scan-view/Reporter.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/scan-view/Reporter.py')
-rw-r--r--tools/scan-view/Reporter.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/scan-view/Reporter.py b/tools/scan-view/Reporter.py
index 22e43112df..07102cff47 100644
--- a/tools/scan-view/Reporter.py
+++ b/tools/scan-view/Reporter.py
@@ -113,10 +113,10 @@ class RadarReporter:
def isAvailable():
# FIXME: Find this .scpt better
path = os.path.join(os.path.dirname(__file__),'Resources/GetRadarVersion.scpt')
- try:
- p = subprocess.Popen(['osascript',path],
- stdout=subprocess.PIPE, stderr=subprocess.PIPE)
- except:
+ try:
+ p = subprocess.Popen(['osascript',path],
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ except:
return False
data,err = p.communicate()
res = p.wait()