Merge branch 'master'
This commit is contained in:
parent
7607954f20
commit
3aba9e8916
|
@ -551,6 +551,8 @@ class KlipperPlugin(
|
|||
dataToValidated.readfp(buf)
|
||||
else:
|
||||
dataToValidated.read_string(dataToBeValidated)
|
||||
except configparser.DuplicateSectionError:
|
||||
self._parsing_check_response = True
|
||||
except configparser.Error as error:
|
||||
if sys.version_info[0] < 3:
|
||||
error.message = error.message.replace("\\n","")
|
||||
|
@ -571,10 +573,9 @@ class KlipperPlugin(
|
|||
"You can reload your last changes\n" +
|
||||
"on the 'Klipper Configuration' tab.\n\n" + str(error))
|
||||
self._parsing_check_response = False
|
||||
return
|
||||
else:
|
||||
self._parsing_check_response = True
|
||||
return
|
||||
return
|
||||
|
||||
#incorrectlines = []
|
||||
# for section in dataToValidated.sections():
|
||||
|
|
Loading…
Reference in New Issue