Skip to content

Commit ecd1a3f

Browse files
committed
Store decoded branch name instead of bytes
1 parent 38859d1 commit ecd1a3f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

qgis_deployment_toolbelt/profiles/profiles_handler_base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,7 @@ def download(self, destination_local_path: Path) -> Repo:
374374
if isinstance(local_git_repository, Repo):
375375
self.DESTINATION_BRANCH_TO_USE = porcelain.active_branch(
376376
local_git_repository
377-
)
378-
377+
).decode()
379378
return local_git_repository
380379

381380
def clone_or_pull(self, to_local_destination_path: Path, attempt: int = 1) -> Repo:

0 commit comments

Comments
 (0)