diff --git a/nifi/user-scripts/parse-anns-from-nlp-response-bulk.py b/nifi/user-scripts/parse-anns-from-nlp-response-bulk.py index 5859bb53..492dffc3 100644 --- a/nifi/user-scripts/parse-anns-from-nlp-response-bulk.py +++ b/nifi/user-scripts/parse-anns-from-nlp-response-bulk.py @@ -71,7 +71,7 @@ def process(self, inputStream, outputStream): # sometimes there's an empty annotation list if len(annotations.keys()) == 0: - log.info("Empty annotation list - " + footer[DOCUMENT_ID_FIELD_NAME]) + log.info("Empty annotation list - " + str(footer[DOCUMENT_ID_FIELD_NAME])) continue anns_ids=[]