Catch config.NoOptionError when reading config

This commit is contained in:
Florian Bruhin 2014-05-01 21:20:17 +02:00
parent 12255dc697
commit 8c253ae611

View File

@ -109,6 +109,7 @@ class QuteBrowser(QApplication):
try:
config.init(confdir)
except (config.ValidationError,
config.NoOptionError,
configparser.InterpolationError,
configparser.DuplicateSectionError,
configparser.DuplicateOptionError,