Skip to content

Commit

Permalink
indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Feb 23, 2018
1 parent 388cfb8 commit 8d69dc1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/plugins/processing/script/ScriptAlgorithmProvider.py
Expand Up @@ -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)
Expand Down

0 comments on commit 8d69dc1

Please sign in to comment.