Fix GUI startup on configuration errors.

This commit is contained in:
Bastian Kleineidam 2011-10-09 21:46:39 +02:00
parent e71d441ce6
commit bf426c3956
2 changed files with 3 additions and 1 deletions

View file

@ -8,6 +8,8 @@ Fixes:
Closes: SF bug #3415274
- checking: Fix W3C HTML checking by using the new soap12 output.
Closes: SF bug #3413022
- gui: Fix startup when configuration file contains errors.
Closes: SF bug #3392021
Features:
- checking: If a warning regex is configured, multiple matches in

View file

@ -204,7 +204,7 @@ class LinkCheckerMain (QtGui.QMainWindow, Ui_MainWindow):
try:
self.config.read()
except LinkCheckerError, msg:
self.config_error = msg
self.config_error = unicode(msg)
def set_config (self):
"""Set configuration."""