Spaces:
Runtime error
Runtime error
xiomarablanco
commited on
Commit
•
89e2f4e
1
Parent(s):
10a6928
Quitar caracteres raros Sakai
Browse files
app.py
CHANGED
@@ -278,7 +278,12 @@ def answersTodict(zip_path):
|
|
278 |
textoFichero = ""
|
279 |
|
280 |
if (len(lineas) > 0):
|
281 |
-
textoFichero = lineas[0]
|
|
|
|
|
|
|
|
|
|
|
282 |
|
283 |
#print("texto: " + textoFichero)
|
284 |
|
|
|
278 |
textoFichero = ""
|
279 |
|
280 |
if (len(lineas) > 0):
|
281 |
+
#textoFichero = lineas[0]
|
282 |
+
string_without_line_breaks = ""
|
283 |
+
for line in lineas:
|
284 |
+
stripped_line = line.rstrip()
|
285 |
+
string_without_line_breaks += stripped_line
|
286 |
+
textoFichero = string_without_line_breaks
|
287 |
|
288 |
#print("texto: " + textoFichero)
|
289 |
|