mirror of
https://github.com/nikdoof/oblogout.git
synced 2025-12-22 23:09:25 +00:00
Bug as reported on #! forums, change except to catch all instead of just
valueerrors
This commit is contained in:
@@ -182,7 +182,7 @@ class OpenboxLogout():
|
||||
# Set background color
|
||||
try:
|
||||
self.bgcolor = gtk.gdk.Color(self.parser.get("looks", "bgcolor"))
|
||||
except ValueError:
|
||||
except:
|
||||
self.logger.warning(_("Color %s is not a valid color, defaulting to black") % self.parser.get("looks", "bgcolor"))
|
||||
self.bgcolor = gtk.gdk.Color("black")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user