From 0376961bfe8a4581c5e80e225e3136d90509ec95 Mon Sep 17 00:00:00 2001 From: nicogodet Date: Tue, 6 May 2025 14:21:59 +0200 Subject: [PATCH] Store decoded branch name instead of bytes --- qgis_deployment_toolbelt/profiles/profiles_handler_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qgis_deployment_toolbelt/profiles/profiles_handler_base.py b/qgis_deployment_toolbelt/profiles/profiles_handler_base.py index 6a19b9fa..a8c0a5b0 100644 --- a/qgis_deployment_toolbelt/profiles/profiles_handler_base.py +++ b/qgis_deployment_toolbelt/profiles/profiles_handler_base.py @@ -374,7 +374,7 @@ def download(self, destination_local_path: Path) -> Repo: if isinstance(local_git_repository, Repo): self.DESTINATION_BRANCH_TO_USE = porcelain.active_branch( local_git_repository - ) + ).decode() return local_git_repository