summaryrefslogtreecommitdiff
path: root/wikibot/currentwarriorproject.py
diff options
context:
space:
mode:
authorGravatar klea2026-01-11 05:04:43 +0000
committerGravatar klea2026-01-11 05:04:43 +0000
commite4b314ed7d86e6b26c8993e5e18fb124ba8524ca (patch)
tree988e3862d9e047e3267694ccabbd2201b71ee07f /wikibot/currentwarriorproject.py
parentpkgs: move pywikibot to it's own pywikibotPackages (diff)
signature
wikibot/currentwarriorproject: dont dump json to wiki
apparently i didn't format edit summary properly
Diffstat (limited to 'wikibot/currentwarriorproject.py')
-rw-r--r--wikibot/currentwarriorproject.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wikibot/currentwarriorproject.py b/wikibot/currentwarriorproject.py
index 0c487c6..816e2be 100644
--- a/wikibot/currentwarriorproject.py
+++ b/wikibot/currentwarriorproject.py
@@ -27,4 +27,4 @@ def maybe_edit_wiki(pageText, reason="Obtained data from WarriorHQ file"):
defaultProject = get_current_default_project()
defaultProjectAsWikiText = default_project_to_wiki_text(defaultProject)
-maybe_edit_wiki(defaultProjectAsWikiText, reason=f"Default project is now {defaultProject} (fetched from WarriorHQ json)")
+maybe_edit_wiki(defaultProjectAsWikiText, reason=f"Default project is now {defaultProject['name']} \"{defaultProject['description']}\" (fetched from WarriorHQ json)")