Skip to content

Commit de943a2

Browse files
Fix bug with missing entity
1 parent 67f75c5 commit de943a2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

main.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ async def get_textified_wd(
104104
filter_pids=filter_pids
105105
)
106106

107+
if not entity:
108+
return_data[id] = None
109+
continue
110+
107111
if format == 'text':
108112
results = str(entity)
109113
elif format == 'triplet':

0 commit comments

Comments
 (0)