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