From 39d3cff3e364d88694d84170682070c0fb130147 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Wed, 11 Dec 2002 12:04:11 +0000 Subject: [PATCH] Don't use alert with nogui. git-svn-id: http://dom-editor.googlecode.com/svn/branches/Gtk2@463 ef21e15d-ca94-4315-9c45-0d95b1b2e117 --- Dome/View.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dome/View.py b/Dome/View.py index 48e895c..36215d5 100644 --- a/Dome/View.py +++ b/Dome/View.py @@ -1,6 +1,10 @@ from __future__ import nested_scopes -from rox import alert +try: + from rox import alert +except: + def alert(message): + print "***", message import support from support import * -- 2.11.4.GIT