Verified Commit f0fc585b authored by VAN ZUIJLEN Nils's avatar VAN ZUIJLEN Nils
Browse files

Update value stripping for CAS fetch

Use `strip` instead of just removing first and last chars.
Signed-off-by: VAN ZUIJLEN Nils's avatarNils VAN ZUIJLEN <>
parent c20be33a
......@@ -54,7 +54,7 @@ class CASAuth(BaseAuth):
container = label.findNextSibling()
if container is None:
return None
value = container.getText()[1:-1]
value = container.getText().strip("[] \n\t")
return value or None
def _get_names(self, soup) -> Tuple[str, str]:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment