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 path in recent locale support #1773

Merged
merged 1 commit into from
Aug 29, 2018
Merged

Fix path in recent locale support #1773

merged 1 commit into from
Aug 29, 2018

Conversation

penrods
Copy link
Contributor

@penrods penrods commented Aug 29, 2018

The recent changes to support the 'locale' directory were incorrectly
joining the os.walk() path and filename, resulting in double-directories,
like "./vocab/en-us/./vocab/en-us/Something.voc"

How to test

I noticed then when running the skill tester (go into a skill directory like cd /opt/mycroft/skills/mycroft-joke.mycroftai and run python -m test.integrationtests.skills.runner . It fails before this PR, works afterwards.

Contributor license agreement signed?

CLA [ X ] (Whether you have signed a CLA - Contributor Licensing Agreement

The recent changes to support the 'locale' directory were incorrectly
joining the os.walk() path and filename, resulting in double-directories,
like "./vocab/en-us/./vocab/en-us/Something.voc"
@penrods penrods added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Aug 29, 2018
@penrods penrods requested a review from forslund August 29, 2018 09:00
@forslund forslund merged commit 5c42ce8 into dev Aug 29, 2018
@forslund
Copy link
Collaborator

Works and looks fine. merging

@forslund forslund deleted the bugfix/bad-walk branch November 4, 2018 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants