Attempted fix to occasional osascript error.

git-svn-id: http://munki.googlecode.com/svn/trunk@135 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2009-07-27 18:27:25 +00:00
parent 5228d462aa
commit 45663239e8

View File

@@ -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):