Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Add .strip()
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre committed Sep 7, 2022
1 parent 993606e commit 3846263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/config/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def read_signing_keys(self, signing_key_path: str, name: str) -> List[SigningKey
[
signing_key_line
for signing_key_line in signing_keys.splitlines(keepends=False)
if signing_key_line
if signing_key_line.strip()
]
)

Expand Down

0 comments on commit 3846263

Please sign in to comment.