Handle an odd error initialising on Slackware

This commit is contained in:
Chris Jones 2012-01-14 20:11:46 +00:00
parent cd5c4c1056
commit 1dd4d562ff
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class Terminator(Borg):
self.gnome_client.connect('save-yourself', self.save_yourself) self.gnome_client.connect('save-yourself', self.save_yourself)
self.gnome_client.connect('die', self.die) self.gnome_client.connect('die', self.die)
dbg('GNOME session support enabled and registered') dbg('GNOME session support enabled and registered')
except ImportError: except (ImportError, AttributeError):
self.gnome_client = False self.gnome_client = False
dbg('GNOME session support not available') dbg('GNOME session support not available')