Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(downloader): qdt_plugins_to_copy was not created in force mode #551

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion qgis_deployment_toolbelt/jobs/job_plugins_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def run(self) -> None:
# filter plugins to download, filtering out those which are not already present locally
if self.options.get("force") is True:
qdt_plugins_to_download = qdt_referenced_plugins
qdt_plugins_to_copy = []
else:
qdt_plugins_to_download = self.filter_list_downloadable_plugins(
input_list=qdt_referenced_plugins
Expand Down Expand Up @@ -216,7 +217,8 @@ def download_remote_plugins(
performed synchronously. Defaults to 5.

Returns:
Tuple[List[QgisPlugin],List[QgisPlugin]]: tuple of (downloaded plugins, failed downloads)
Tuple[List[QgisPlugin],List[QgisPlugin]]: tuple of \
(downloaded plugins, failed downloads)
"""
downloaded_plugins: list[QgisPlugin] = []
failed_plugins: list[QgisPlugin] = []
Expand Down