Skip to content

Commit

Permalink
Fix: surround profile name with quotes to prevent space (#348)
Browse files Browse the repository at this point in the history
closes #292
  • Loading branch information
Guts authored Nov 16, 2023
2 parents 96197aa + eca8bc1 commit 8df05a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qgis_deployment_toolbelt/jobs/job_shortcuts.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def get_arguments_ready(self, profile: str, in_arguments: str = None) -> tuple[s
:return Tuple[str]: tuple of strings separated by spaces
"""
# add profile name
arguments: list = ["--profile", profile]
arguments: list = ["--profile", f'"{profile}"']

# add additional arguments
if in_arguments:
Expand Down

0 comments on commit 8df05a7

Please sign in to comment.