URI: Fixed removed url fragment
All checks were successful
checks-impure / test (pull_request) Successful in 1m22s
checks / test (pull_request) Successful in 2m41s

This commit is contained in:
Luis Hebendanz 2024-01-30 13:28:12 +07:00
parent a50d0f1743
commit 52f5c890cc

View File

@ -85,7 +85,7 @@ class ClanURI:
clan_params["flake_attr"] = self._components.fragment.split("#")[0]
# Replace the query string in the components with the new query string
self._components = self._components._replace(query=real_query)
self._components = self._components._replace(query=real_query, fragment="")
# Create a ClanParameters object from the clan_params dictionary
self.params = ClanParameters(**clan_params)