From 666aee1bc7ef89a4fd5538e25341aa8474619274 Mon Sep 17 00:00:00 2001 From: KovachevBot <86124720+KovachevBot@users.noreply.github.com> Date: Sun, 20 Jun 2021 16:35:29 +0100 Subject: [PATCH] Removed comment on Bulgarian presence check --- test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test.py b/test.py index 45d4e21..6bd908f 100644 --- a/test.py +++ b/test.py @@ -123,9 +123,9 @@ def generate_derivatives(form_list): entry = "" # Check whether the bot can feasibly/permissibly edit the page. If not, quit. - # if bool(page_content.get_sections(matches=r"Bulgarian")): - # print(f"NOTE: page {title} already contains existing Bulgarian entry, exiting") - # continue + if bool(page_content.get_sections(matches=r"Bulgarian")): + print(f"NOTE: page {title} already contains existing Bulgarian entry, exiting") + continue if not derivative_page.botMayEdit: print(f"ERROR: page {title} disallows bot editing, exiting") continue