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,