Removed comment on Bulgarian presence check
This commit is contained in:
parent
074d2843ed
commit
666aee1bc7
6
test.py
6
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
|
||||
|
Loading…
Reference in New Issue
Block a user