mirror of https://github.com/MISP/PyTaxonomies
Fix last commit
parent
c3e5ee9ff8
commit
1668b87df8
|
@ -124,7 +124,7 @@ class Taxonomy(collections.Mapping):
|
||||||
for p, content in self.predicates.items():
|
for p, content in self.predicates.items():
|
||||||
if content:
|
if content:
|
||||||
for k, entry in content.items():
|
for k, entry in content.items():
|
||||||
to_return.append('{}:{}="{}"'.format(self.name, p, entry.expanded.decode()))
|
to_return.append('{}:{}="{}"'.format(self.name, p, entry.expanded))
|
||||||
else:
|
else:
|
||||||
to_return.append('{}:{}'.format(self.name, p))
|
to_return.append('{}:{}'.format(self.name, p))
|
||||||
return to_return
|
return to_return
|
||||||
|
|
Loading…
Reference in New Issue