default scripts dir

This commit is contained in:
Rudis Muiznieks 2022-02-08 15:16:15 -06:00
parent 989bce8ceb
commit b5764124ca
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class RunScriptSkill(MycroftSkill):
self.on_settings_changed()
def on_settings_changed(self):
self.script_dir = self.settings.get('script_dir')
self.script_dir = self.settings.get('script_dir', os.path.expanduser("~/scripts"))
self.read_scripts_dir()
def read_scripts_dir(self):