Kaydet (Commit) cee88c7c authored tarafından Bahadır Kandemir's avatar Bahadır Kandemir

Return .py files only

üst d6c47d89
......@@ -10,7 +10,7 @@ def listModelApplications(model):
if not os.path.exists(scriptDir):
return apps
for i in os.listdir(scriptDir):
if not i.startswith("."):
if i.endswith(".py"):
return apps
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment