default scripts dir
This commit is contained in:
parent
989bce8ceb
commit
b5764124ca
|
@ -12,7 +12,7 @@ class RunScriptSkill(MycroftSkill):
|
||||||
self.on_settings_changed()
|
self.on_settings_changed()
|
||||||
|
|
||||||
def on_settings_changed(self):
|
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()
|
self.read_scripts_dir()
|
||||||
|
|
||||||
def read_scripts_dir(self):
|
def read_scripts_dir(self):
|
||||||
|
|
Loading…
Reference in New Issue