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 = ""
# 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