Skip to content

Commit

Permalink
Fix previous commit about logging in transifex
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Dec 18, 2023
1 parent 942832d commit bf99554
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qgispluginci/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def validate_args(args: Namespace):
- the value of `release_version` matches no supported pattern.
In any case, warn the user if the value of `release_version` doesn't match the semver pattern.
"""
if not args.release_version:
if not hasattr(args, 'release_version') or not args.release_version:
return

patterns = Parameters.get_release_version_patterns()
Expand Down
2 changes: 1 addition & 1 deletion qgispluginci/translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def pull(self):
for lang in existing_langs:
ts_file = f"{self.parameters.plugin_path}/i18n/{self.parameters.transifex_resource}_{lang}.ts"
logger.debug(
f"Downloading translation file: {ts_file}, resource: {self.config.resource_slug}"
f"Downloading translation file: {ts_file}"
)
self.tx_client.get_translation(
language_code=lang,
Expand Down

0 comments on commit bf99554

Please sign in to comment.