Commit be7fbe00 authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Fix bug: psot does not run when non yaml files are in the modules folder, e.g....

Fix bug: psot does not run when non yaml files are in the modules folder, e.g. hidden editor swap files. Now hidden files are ignored
parent a574711d
......@@ -32,7 +32,7 @@ def load_config_file():
def get_module_manifests():
mypath = get_modules_location()
return [os.path.join(mypath, f) for f in os.listdir(mypath) if os.path.isfile(os.path.join(mypath, f))]
return [os.path.join(mypath, f) for f in os.listdir(mypath) if os.path.isfile(os.path.join(mypath, f)) and not f.startswith('.')]
def create_app_config():
config = {}
......
Supports Markdown
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