mirror of https://gitlab.com/bashrc2/epicyon
Exclude custom ontologies
parent
e62939e5c0
commit
7105bbe8cd
3
utils.py
3
utils.py
|
@ -2822,7 +2822,8 @@ def getCategoryTypes(baseDir: str) -> []:
|
|||
if not f.endswith('.json'):
|
||||
continue
|
||||
ontologyFilename = f.split('.')[0]
|
||||
if 'Types' in ontologyFilename:
|
||||
if 'Types' in ontologyFilename and \
|
||||
not ontologyFilename.startswith('custom'):
|
||||
categories.append(ontologyFilename.replace('Types', ''))
|
||||
break
|
||||
return categories
|
||||
|
|
Loading…
Reference in New Issue