sebbASF commented on a change in pull request #119:
URL:
https://github.com/apache/incubator-ponymail-foal/pull/119#discussion_r739794810
##########
File path: tools/import-mbox.py
##########
@@ -327,7 +327,7 @@ def mailgen(_list):
}
},
)
- if res and res["hits"]["total"] > 0:
+ if res and len(res["hits"]["total"]) > 0:
Review comment:
Not sure the fix is correct: res["hits"]["total"] is a number, not an
array.
What is the error message?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]