Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
fixed nquad builder
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwunderbar666 committed Nov 9, 2021
1 parent 8e75a83 commit e79bcf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flaskinventory/flaskdgraph/dgraph_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e79bcf0

Please sign in to comment.