This commit is contained in:
Guilherme Polo 2009-08-05 23:48:26 +00:00
parent 3d75555b2b
commit 175e0bf8ca
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ def runningAsOSXApp():
""" """
Returns True if Python is running from within an app on OSX. Returns True if Python is running from within an app on OSX.
If so, assume that Python was built with Aqua Tcl/Tk rather than If so, assume that Python was built with Aqua Tcl/Tk rather than
X11 Tck/Tk. X11 Tcl/Tk.
""" """
return (sys.platform == 'darwin' and '.app' in sys.executable) return (sys.platform == 'darwin' and '.app' in sys.executable)