Catch config.NoOptionError when reading config
This commit is contained in:
parent
12255dc697
commit
8c253ae611
@ -109,6 +109,7 @@ class QuteBrowser(QApplication):
|
||||
try:
|
||||
config.init(confdir)
|
||||
except (config.ValidationError,
|
||||
config.NoOptionError,
|
||||
configparser.InterpolationError,
|
||||
configparser.DuplicateSectionError,
|
||||
configparser.DuplicateOptionError,
|
||||
|
Loading…
Reference in New Issue
Block a user