Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix-up of #28 to handle the situation when there are no existing translations. #29

Merged
merged 1 commit into from
Jun 10, 2023

Conversation

XLTechie
Copy link
Member

#28 included moFile in the dependency for HTML file generation.
However if there was no moFile set, likely because there has not been any translation yet, sconstruct failed on a NameError.
To solve this, I put the access of moFile in a try-except-else block.

…sting translations.

Pr nvdaaddons#28 included moFile in the dependency for HTML file generation.
However if there was no moFile set, likely because there has not been any translation yet, sconstruct failed on a NameError.
To solve this, I put the access of moFile in a try-except-else block.
@XLTechie XLTechie force-pushed the fixSconstructForNoTranslations branch from 7f93175 to 6663b5c Compare June 10, 2023 09:53
@josephsl josephsl merged commit 910f6ac into nvdaaddons:master Jun 10, 2023
@XLTechie XLTechie deleted the fixSconstructForNoTranslations branch June 17, 2023 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants