Skip to content

Commit

Permalink
Minor docstring update
Browse files Browse the repository at this point in the history
  • Loading branch information
forslund committed May 27, 2020
1 parent d494814 commit cdb04b1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions mycroft/skills/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,9 @@ def msm(self):
return self._msm

def get_local_skills(self):
return {
skill.path: skill for skill in
self.msm.local_skills.values()
}
"""Generate a mapping of skill path to skill name for all local skills.
"""
return {skill.path: skill for skill in self.msm.local_skills.values()}

@property
def skill_gid(self):
Expand Down Expand Up @@ -238,7 +237,7 @@ def upload(self):
self.upload_timer.start()

def stop(self):
""" Stop upload attempts if Timer is running."""
"""Stop upload attempts if Timer is running."""
if self.upload_timer:
self.upload_timer.cancel()
# Set stopped flag if upload is running when stop is called.
Expand Down

0 comments on commit cdb04b1

Please sign in to comment.