URI: Fixed removed url fragment

This commit is contained in:
Qubasa
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)