From 1dd4d562ff1a23bdef6dd1249eecc6edb3ec5812 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Sat, 14 Jan 2012 20:11:46 +0000 Subject: [PATCH] Handle an odd error initialising on Slackware --- terminatorlib/terminator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index 8ec97f11..54226838 100755 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -90,7 +90,7 @@ class Terminator(Borg): self.gnome_client.connect('save-yourself', self.save_yourself) self.gnome_client.connect('die', self.die) dbg('GNOME session support enabled and registered') - except ImportError: + except (ImportError, AttributeError): self.gnome_client = False dbg('GNOME session support not available')