diff --git a/flaskinventory/flaskdgraph/dgraph_types.py b/flaskinventory/flaskdgraph/dgraph_types.py index b3f18b8a..aa0464b8 100644 --- a/flaskinventory/flaskdgraph/dgraph_types.py +++ b/flaskinventory/flaskdgraph/dgraph_types.py @@ -82,7 +82,8 @@ def __init__(self, value, facets=None): value = str(value).lower() self.value = str(value).strip() - self.value = json.dumps(self.value) + if self.value != '*': + self.value = json.dumps(self.value) if facets: self.facets = facets