mirror of
https://github.com/nikdoof/oblogout.git
synced 2025-12-23 07:19:24 +00:00
Fixed bug causing a string opacity to throw an exception
This commit is contained in:
@@ -155,7 +155,10 @@ class OpenboxLogout():
|
||||
self.parser.read(config)
|
||||
|
||||
# Read config file values
|
||||
self.opacity = self.parser.getint("looks", "opacity")
|
||||
try:
|
||||
self.opacity = self.parser.getint("looks", "opacity")
|
||||
except:
|
||||
self.opacity = 50
|
||||
|
||||
# Validate theme configuration
|
||||
self.img_path = "%s/themes" % self.determine_path()
|
||||
|
||||
Reference in New Issue
Block a user