Always enable console

This commit is contained in:
Marco Pesenti Gritti
2006-06-19 23:04:53 -04:00
parent 8bcdb8f3dd
commit 758d9fba43
2 changed files with 2 additions and 7 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ class LogWriter:
self._logger = dbus.Interface(proxy_obj, 'com.redhat.Sugar.Logger')
def start(self):
if os.environ.has_key('SUGAR_USE_CONSOLE') and self._use_console:
if self._use_console:
sys.stdout = self
sys.stderr = self