@@ -219,9 +219,9 @@ def run(self):
219219 # Load priority skills first by order
220220 if exists (SKILLS_DIR ):
221221 # checking skills dir and getting all priority skills there
222- list = [folder for folder in
223- filter ( lambda x : os .path .isdir (os .path .join (SKILLS_DIR , x )),
224- os .listdir (SKILLS_DIR )) if folder in PRIORITY_SKILLS ]
222+ list = [folder for folder in filter (
223+ lambda x : os .path .isdir (os .path .join (SKILLS_DIR , x )),
224+ os .listdir (SKILLS_DIR )) if folder in PRIORITY_SKILLS ]
225225 for skill_folder in list :
226226 id_counter += 1
227227 skill = {"id" : id_counter }
@@ -265,8 +265,8 @@ def run(self):
265265 "loaded" ) and modified <= last_modified_skill :
266266 continue
267267 # checking if skill was modified
268- elif (skill .get ("instance" ) and
269- modified > last_modified_skill ):
268+ elif (skill .get ("instance" ) and modified >
269+ last_modified_skill ):
270270 # checking if skill should be reloaded
271271 if not skill ["instance" ].reload_skill :
272272 continue
@@ -277,10 +277,11 @@ def run(self):
277277 # -2 since two local references that are known
278278 refs = sys .getrefcount (skill ["instance" ]) - 2
279279 if refs > 0 :
280- logger .warn ("After shutdown of {} there are still "
281- "{} references remaining. The skill "
282- "won't be cleaned from memory."
283- .format (skill ['instance' ].name , refs ))
280+ logger .warn (
281+ "After shutdown of {} there are still "
282+ "{} references remaining. The skill "
283+ "won't be cleaned from memory."
284+ .format (skill ['instance' ].name , refs ))
284285 del skill ["instance" ]
285286 skill ["loaded" ] = True
286287 skill ["instance" ] = load_skill (
0 commit comments