From a625d8ade39e6a9c474fdf7ad0661b10bbd1a190 Mon Sep 17 00:00:00 2001 From: saggu Date: Thu, 28 Jan 2021 17:42:37 -0800 Subject: [PATCH 1/2] fix minor error --- etk/knowledge_graph/graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etk/knowledge_graph/graph.py b/etk/knowledge_graph/graph.py index ec387593..a3b035da 100644 --- a/etk/knowledge_graph/graph.py +++ b/etk/knowledge_graph/graph.py @@ -48,7 +48,7 @@ def serialize(self, format='ttl', namespace_manager=None, **kwargs): else: b_string = self._g.serialize(format=format, **kwargs) if isinstance(b_string, bytes): - b_string.decode('UTF-8') + b_string = b_string.decode('UTF-8') return b_string @lru_cache() From ab99c1a57a7b87c2a920b33348bac228dbd632bd Mon Sep 17 00:00:00 2001 From: saggu Date: Thu, 28 Jan 2021 17:43:23 -0800 Subject: [PATCH 2/2] update version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0253b2c3..f24afd42 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setuptools.setup( name="etk", - version="2.2.5", + version="2.2.6", author="Amandeep Singh", author_email="amandeep.s.saggu@gmail.com", description="extraction toolkit",