Skip to content

Commit 912d6f1

Browse files
a-grealishparamt
authored andcommitted
Join list from readlines to string
1 parent fc20fca commit 912d6f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_links.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_test_from_file(file):
2323
with open('./' + file) as f:
2424
text = f.readlines()
2525
print("Found file in the locally checked out repo")
26-
return text
26+
return ' '.join(text)
2727
except FileNotFoundError as e:
2828
print("Could not find file checked out locally, falling back to using public link")
2929

0 commit comments

Comments
 (0)