string interpolation fix
This commit is contained in:
parent
d32ed3107e
commit
71c38516ac
1 changed files with 3 additions and 3 deletions
|
@ -17,11 +17,11 @@ class RunScriptSkill(MycroftSkill):
|
|||
|
||||
def read_scripts_dir(self):
|
||||
if self.script_dir and os.path.isdir(self.script_dir):
|
||||
self.log.info("Reading scripts from %" % self.script_dir)
|
||||
self.log.info("Reading scripts from % s" % self.script_dir)
|
||||
self.scripts = os.listdir(self.script_dir)
|
||||
self.log.debug("Scripts: %" % ','.join(self.scripts))
|
||||
self.log.debug("Scripts: % s" % ','.join(self.scripts))
|
||||
else:
|
||||
self.log.critical("The script_dir directory (%) does not exist or can't be read" % self.script_dir)
|
||||
self.log.critical("The script_dir directory % s does not exist or can't be read" % self.script_dir)
|
||||
self.scripts = []
|
||||
|
||||
@intent_handler('RunScript.intent')
|
||||
|
|
Loading…
Reference in a new issue