Skip to content

Commit

Permalink
replace use of deprecated botflag parameter (#242)
Browse files Browse the repository at this point in the history
in pywikibot.page.BasePage.save
  • Loading branch information
JJMC89 authored Sep 21, 2024
1 parent 7e298e7 commit a2a4d96
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
31 changes: 19 additions & 12 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ version = "0.3.0"
python = "^3.11"
mwparserfromhell = "0.6.6"
pywikibot = {version = "9.3.1", extras = ["mwoauth", "mysql"]}
pywikibot-extensions = "23.3.25"
pywikibot-extensions = "24.9.21"

[tool.poetry.scripts]
nfcbot = "nfcbot.cli:cli"
2 changes: 1 addition & 1 deletion src/nfcbot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def teardown(self) -> None:
page.save(
text=f"{iterable_to_wikitext(self.log_list).strip()}\n\n~~~~",
summary=str(self.start_time),
botflag=False,
bot=False,
force=True,
section="new",
)
Expand Down

0 comments on commit a2a4d96

Please sign in to comment.