From 8453a09df8aabe991ed0ddeab1b6e9876452e9a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Sun, 21 Jul 2024 17:24:42 +0200 Subject: [PATCH] fix pre-commit hook: black MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Günther --- cimgen/cimgen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cimgen/cimgen.py b/cimgen/cimgen.py index c2e19291..a39abe4d 100644 --- a/cimgen/cimgen.py +++ b/cimgen/cimgen.py @@ -174,8 +174,8 @@ def _extract_text(object_dic): return object_dic[0]["_"] elif "_" in object_dic.keys(): return object_dic["_"] - elif '$rdfs:Literal' in object_dic.keys(): - return object_dic['$rdfs:Literal'] + elif "$rdfs:Literal" in object_dic.keys(): + return object_dic["$rdfs:Literal"] else: return ""