mirror of https://github.com/MISP/PyTaxonomies
fix: master -> main
parent
16ac812e04
commit
aeadb7abee
|
@ -235,7 +235,7 @@ class Taxonomy(Mapping):
|
||||||
|
|
||||||
class Taxonomies(Mapping):
|
class Taxonomies(Mapping):
|
||||||
|
|
||||||
def __init__(self, manifest_url: str='https://raw.githubusercontent.com/MISP/misp-taxonomies/master/MANIFEST.json',
|
def __init__(self, manifest_url: str='https://raw.githubusercontent.com/MISP/misp-taxonomies/main/MANIFEST.json',
|
||||||
manifest_path: Union[Path, str]=Path(os.path.abspath(os.path.dirname(sys.modules['pytaxonomies'].__file__))) / 'data' / 'misp-taxonomies' / 'MANIFEST.json'):
|
manifest_path: Union[Path, str]=Path(os.path.abspath(os.path.dirname(sys.modules['pytaxonomies'].__file__))) / 'data' / 'misp-taxonomies' / 'MANIFEST.json'):
|
||||||
if manifest_path:
|
if manifest_path:
|
||||||
self.loader: Callable[..., Dict[Any, Any]] = self.__load_path
|
self.loader: Callable[..., Dict[Any, Any]] = self.__load_path
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit b2aeefcab17390b3aa5e3ef7b1d215945ddcce58
|
Subproject commit 44357ecea92efc92aa0520e60d141c896e981ddc
|
Loading…
Reference in New Issue