Update for pep8
parent
93893f3473
commit
451f0f5195
|
@ -37,7 +37,9 @@ __author__ = 'seanfitz'
|
|||
PRIMARY_SKILLS = ['intent', 'wake']
|
||||
BLACKLISTED_SKILLS = ["send_sms", "media"]
|
||||
SKILLS_BASEDIR = dirname(__file__)
|
||||
THIRD_PARTY_SKILLS_DIR = ["/opt/mycroft/third_party", "/opt/mycroft/skills"] # Note: /opt/mycroft/skills is recommended, /opt/mycroft/third_party is for backwards compatibility
|
||||
THIRD_PARTY_SKILLS_DIR = ["/opt/mycroft/third_party", "/opt/mycroft/skills"]
|
||||
# Note: /opt/mycroft/skills is recommended, /opt/mycroft/third_party
|
||||
# is for backwards compatibility
|
||||
|
||||
MainModule = '__init__'
|
||||
|
||||
|
@ -146,8 +148,8 @@ def load_skills(emitter, skills_root=SKILLS_BASEDIR):
|
|||
load_skill(skill, emitter)
|
||||
|
||||
for skill in skills:
|
||||
if (skill['name'] not in PRIMARY_SKILLS and skill['name'] not in
|
||||
BLACKLISTED_SKILLS):
|
||||
if (skill['name'] not in PRIMARY_SKILLS and
|
||||
skill['name'] not in BLACKLISTED_SKILLS):
|
||||
load_skill(skill, emitter)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue