Skip to content

Commit 4379856

Browse files
committed
Fix specified path for downloads of picker_items
1 parent 4b99939 commit 4379856

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pybalt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from .misc.tracker import get_tracker
1212

1313
# pybalt version
14-
VERSION = "2025.6.1"
14+
VERSION = "2025.6.2"
1515

1616
# Initialize tracker
1717
tracker = get_tracker()

pybalt/core/wrapper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,8 @@ def safe_filename(url_str, max_length=200):
740740
# Create a download task for this item
741741
download_task = await self.client.detached_download(
742742
url=item_url,
743-
filename=item_filename,
743+
filename=filename or response.get("filename"),
744+
folder_path=folder_path,
744745
timeout=self.config.get("download_timeout", 60),
745746
progressive_timeout=True,
746747
)

0 commit comments

Comments
 (0)