From 45663239e8da5a969ff98170bc5c75f2da5ac8cf Mon Sep 17 00:00:00 2001 From: Greg Neagle Date: Mon, 27 Jul 2009 18:27:25 +0000 Subject: [PATCH] Attempted fix to occasional osascript error. git-svn-id: http://munki.googlecode.com/svn/trunk@135 a4e17f2e-e282-11dd-95e1-755cbddbdd66 --- code/client/munkilib/munkistatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/munkilib/munkistatus.py b/code/client/munkilib/munkistatus.py index ce921dc0..e04dd15d 100755 --- a/code/client/munkilib/munkistatus.py +++ b/code/client/munkilib/munkistatus.py @@ -63,7 +63,7 @@ def title(titleText): def message(messageText): result = osascript('tell application "MunkiStatus" to set contents of text field "mainTextFld" of window "mainWindow" to "%s"' % messageText) # when you change the message, the detail is no longer valid, so let's clear that - result = osascript('tell application "MunkiStatus" to set contents of text field "minorTextFld" of window "mainWindow" to ""') + result = osascript('tell application "MunkiStatus" to set contents of text field "minorTextFld" of window "mainWindow" to " "') def detail(detailsText):