Merge branch 'testing'

This commit is contained in:
thelastWallE 2021-04-04 19:10:50 +02:00
commit 520055a0c8
1 changed files with 2 additions and 1 deletions

View File

@ -553,7 +553,6 @@ class KlipperPlugin(
dataToValidated.read_string(dataToBeValidated) dataToValidated.read_string(dataToBeValidated)
except configparser.DuplicateSectionError: except configparser.DuplicateSectionError:
self._parsing_check_response = True self._parsing_check_response = True
pass
except configparser.Error as error: except configparser.Error as error:
if sys.version_info[0] < 3: if sys.version_info[0] < 3:
error.message = error.message.replace("\\n","") error.message = error.message.replace("\\n","")
@ -574,6 +573,8 @@ class KlipperPlugin(
"You can reload your last changes\n" + "You can reload your last changes\n" +
"on the 'Klipper Configuration' tab.\n\n" + str(error)) "on the 'Klipper Configuration' tab.\n\n" + str(error))
self._parsing_check_response = False self._parsing_check_response = False
else:
self._parsing_check_response = True
return return
#incorrectlines = [] #incorrectlines = []