Skip to content
Permalink
Browse files

indentation

  • Loading branch information
alexbruy committed Feb 23, 2018
1 parent 388cfb8 commit 8d69dc1fb65ea21c693e4dc0551212d52d9e2ade
Showing with 0 additions and 3 deletions.
  1. +0 −3 python/plugins/processing/script/ScriptAlgorithmProvider.py
@@ -100,11 +100,8 @@ def loadAlgorithms(self):
folders = ScriptUtils.scriptsFolders()
for folder in folders:
items = [f for f in os.listdir(folder) if os.path.isfile(os.path.join(folder, f))]
#items = os.scandir(folder)
for entry in items:
if entry.lower().endswith(".py"):
#if entry.name.lower().endswith(".py") and entry.is_file():
#moduleName = os.path.splitext(entry.name)[0]
moduleName = os.path.splitext(os.path.basename(entry))[0]
filePath = os.path.abspath(os.path.join(folder, entry))
alg = ScriptUtils.loadAlgorithm(moduleName, filePath)

0 comments on commit 8d69dc1

Please sign in to comment.
You can’t perform that action at this time.