diff --git a/bots/markpages.py b/bots/markpages.py index 754e1bf..e47f4d7 100644 --- a/bots/markpages.py +++ b/bots/markpages.py @@ -134,7 +134,11 @@ class MarkPagesBot( CurrentPageBot ): # sets 'current_page' on each treat() # Define edit summary summary = jogobot.config["red.markpages"]["mark_done_summary"].format( - reddisc=self.current_page.redfam.get_disc_link() ) + reddisc=self.current_page.redfam.get_disc_link() ).strip() + + # Make sure summary starts with "Bot:" + if not summary[:len("Bot:")] == "Bot:": + summary = "Bot: " + summary.strip() # Save self.put_current( self.new_text, summary=summary )