Skip to content

Commit 60f5d4a

Browse files
committed
Stripping leading and trailing whitespace
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
1 parent fb78acf commit 60f5d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_api_key_from_file(path: str):
2121

2222
with open(path) as key_file:
2323

24-
return key_file.read()
24+
return key_file.read().strip()
2525

2626

2727
class SimilarityScore(BaseModel):

0 commit comments

Comments
 (0)