From c5aee2a8c6d5234103f90de1592e564181960213 Mon Sep 17 00:00:00 2001 From: clr-li <111320104+clr-li@users.noreply.github.com> Date: Thu, 29 Feb 2024 23:31:11 -0800 Subject: [PATCH] Remove fragment --- gooey_ui/components/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gooey_ui/components/__init__.py b/gooey_ui/components/__init__.py index cc24e9ad2..50b745563 100644 --- a/gooey_ui/components/__init__.py +++ b/gooey_ui/components/__init__.py @@ -443,7 +443,7 @@ def download_button( disabled: bool = False, **props, ) -> bool: - url = url.split("#t=0.001")[0] + url = furl(url).remove(fragment=True).url return button( component="download-button", url=url,