diff --git a/bots/markpages.py b/bots/markpages.py index 63f6d23..00e33ba 100644 --- a/bots/markpages.py +++ b/bots/markpages.py @@ -235,7 +235,7 @@ class MarkPagesBot( CurrentPageBot ): # sets 'current_page' on each treat() # There is none on empty pages, so we need to check if leadsec: # Get the last template in leadsec - ltemplates = leadsec.filter_templates() + ltemplates = leadsec.filter_templates(recursive=False) # If there is one, add notice after this if ltemplates: