Skip to content
This repository has been archived by the owner on Oct 24, 2021. It is now read-only.

patch/remove skill api #48

Merged
merged 1 commit into from
Mar 6, 2021
Merged

patch/remove skill api #48

merged 1 commit into from
Mar 6, 2021

Conversation

JarbasAl
Copy link
Member

@JarbasAl JarbasAl commented Mar 6, 2021

remove patch for MycroftAI/mycroft-core#1822 which has been merged upstream

@JarbasAl JarbasAl added the mycroft_patch a new monkey patch label Mar 6, 2021
@JarbasAl JarbasAl force-pushed the ptch/remove_skill_api branch from 1ceb9ce to eff21d1 Compare March 6, 2021 13:05
@JarbasAl JarbasAl marked this pull request as ready for review March 6, 2021 13:05
@JarbasAl JarbasAl merged commit 797879a into dev Mar 6, 2021
@JarbasAl JarbasAl deleted the ptch/remove_skill_api branch March 6, 2021 13:06
@@ -490,8 +434,7 @@ def voc_match(self, utt, voc_filename, lang=None, exact=False):
voc_filename + '.voc'))

if not voc or not exists(voc):
raise FileNotFoundError(
'Could not find {}.voc file'.format(voc_filename))
return False
Copy link
Member Author

@JarbasAl JarbasAl Mar 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was an unrelated fix not meant to be in this PR

if the voc file does not exist this now returns False instead of throwing an exception, if the file does not exist the voc doesnt match, no reason to fail the intent

log also removed because it can be very spammy

this is particularly useful in the skill templates, change was done due to issues found when working on #49

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
mycroft_patch a new monkey patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant