Merge pull request 'strip whitespace from clan uris' (#686) from Mic92-wayland-update into main
All checks were successful
checks / test (push) Successful in 30s
checks-impure / test (push) Successful in 1m2s

This commit is contained in:
clan-bot 2024-01-04 15:34:10 +00:00
commit bd07d59707

View File

@ -41,6 +41,8 @@ class ClanParameters:
class ClanURI:
# Initialize the class with a clan:// URI
def __init__(self, uri: str) -> None:
# users might copy whitespace along with the uri
uri = uri.strip()
self._full_uri = uri
# Check if the URI starts with clan://
if uri.startswith("clan://"):