Fix #72: Markpages terminates with error
Filtering templates with wikicode as match param does not work anymore, explicitly cast to string
This commit is contained in:
@@ -293,7 +293,7 @@ class MarkPagesBot( CurrentPageBot ): # sets 'current_page' on each treat()
|
||||
# Iterate over Templates with same name (if any) to search equal
|
||||
# Link to decide if they are the same
|
||||
for present_notice in self.current_wikicode.ifilter_templates(
|
||||
matches=self.disc_notice.name ):
|
||||
matches=str(self.disc_notice.name) ):
|
||||
|
||||
# Get reddisc page.title of notice to add
|
||||
add_notice_link_tile = self.disc_notice.get(
|
||||
|
||||
Reference in New Issue
Block a user