From 52f5c890ccbcbb47b631bf5e544c648985efb669 Mon Sep 17 00:00:00 2001 From: Qubasa Date: Tue, 30 Jan 2024 13:28:12 +0700 Subject: [PATCH] URI: Fixed removed url fragment --- pkgs/clan-cli/clan_cli/clan_uri.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/clan-cli/clan_cli/clan_uri.py b/pkgs/clan-cli/clan_cli/clan_uri.py index 501ee22d..3b68cf74 100644 --- a/pkgs/clan-cli/clan_cli/clan_uri.py +++ b/pkgs/clan-cli/clan_cli/clan_uri.py @@ -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)