Merge branch 'develop'

This commit is contained in:
ines 2017-04-14 16:48:24 +02:00
commit 28a7de8100

View File

@ -49,5 +49,6 @@ def list_models():
# won't show up in list, but it seems worth it
exclude = ['cache', 'pycache', '__pycache__']
data_path = util.get_data_path()
if data_path:
models = [f.parts[-1] for f in data_path.iterdir() if f.is_dir()]
return [m for m in models if m not in exclude]