Removed comment on Bulgarian presence check

This commit is contained in:
KovachevBot 2021-06-20 16:35:29 +01:00 committed by GitHub
parent 074d2843ed
commit 666aee1bc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,9 +123,9 @@ def generate_derivatives(form_list):
entry = "" entry = ""
# Check whether the bot can feasibly/permissibly edit the page. If not, quit. # Check whether the bot can feasibly/permissibly edit the page. If not, quit.
# if bool(page_content.get_sections(matches=r"Bulgarian")): if bool(page_content.get_sections(matches=r"Bulgarian")):
# print(f"NOTE: page {title} already contains existing Bulgarian entry, exiting") print(f"NOTE: page {title} already contains existing Bulgarian entry, exiting")
# continue continue
if not derivative_page.botMayEdit: if not derivative_page.botMayEdit:
print(f"ERROR: page {title} disallows bot editing, exiting") print(f"ERROR: page {title} disallows bot editing, exiting")
continue continue