[DEV] correct sending data

This commit is contained in:
Edouard DUPIN 2019-12-18 21:54:49 +01:00
parent 49dcbd099d
commit b9d44e648e

View File

@ -55,10 +55,10 @@ def extract_and_remove(_input_value, _start_mark, _stop_mark):
elif inside == True \ elif inside == True \
and it == _stop_mark: and it == _stop_mark:
inside = False inside = False
_values.append(inside_data) values.append(inside_data)
inside_data = "" inside_data = ""
elif inside == True: elif inside == True:
insideData += it inside_data += it
else: else:
out += it out += it
return (out, values) return (out, values)