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