From f85de926cf6de8126a479756ee83f40a51a04c9b Mon Sep 17 00:00:00 2001 From: Omkar Kabde Date: Wed, 29 May 2024 02:52:06 +0530 Subject: [PATCH] Break condition updated --- src/examples/get_all_announcements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/examples/get_all_announcements.py b/src/examples/get_all_announcements.py index d8ce2ab..8c31e84 100644 --- a/src/examples/get_all_announcements.py +++ b/src/examples/get_all_announcements.py @@ -28,7 +28,7 @@ ann.extend(res['Table']) - if len(ann) == total_count: + if len(ann) >= total_count: break # Next two line are optional and prints percent completion status