strip() on after the join()
Browse files
app.py
CHANGED
@@ -34,7 +34,8 @@ def output_list(output: list):
|
|
34 |
Grabs the output from the first position in list,
|
35 |
and returns it as a string as a response
|
36 |
"""
|
37 |
-
output_text = " ".join(output
|
|
|
38 |
|
39 |
return output_text
|
40 |
|
|
|
34 |
Grabs the output from the first position in list,
|
35 |
and returns it as a string as a response
|
36 |
"""
|
37 |
+
output_text = " ".join(output)
|
38 |
+
clean_output = output_text.strip("")
|
39 |
|
40 |
return output_text
|
41 |
|