Skip to content

Commit

Permalink
http: fix args to HttpHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Dec 20, 2023
1 parent 8e000f2 commit 1aee7d0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions qgis_deployment_toolbelt/jobs/job_profiles_synchronizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ def run(self) -> None:
raise NotImplementedError
downloader = HttpHandler(
source_repository_path_or_uri=self.options.get("source"),
branch_to_use=self.options.get("branch", "master"),
source_repository_type="",
)
downloader.download(destination_local_path=self.qdt_working_folder)
Expand Down Expand Up @@ -347,7 +346,11 @@ def sync_installed_profiles_from_downloaded_profiles(

def sync_copy_only_missing(self, profiles_folder_to_copy: tuple[Path]) -> None:
"""Copy only missing profiles from downloaded ones to QGIS profiles folder to
local destination."""
local destination.
Args:
profiles_folder_to_copy (tuple[Path]): folders to copy.
"""
# copy downloaded profiles into this
for d in profiles_folder_to_copy:
copytree(
Expand Down

0 comments on commit 1aee7d0

Please sign in to comment.