2 Commits
v1.2 ... v1.2.1

Author SHA1 Message Date
e6ffd7d14a Merge branch 'hotfix-1.2.1' 2019-06-08 13:40:09 +02:00
1b82de1eab Fix #72: Markpages terminates with error
Filtering templates with wikicode as match param does not work anymore,
explicitly cast to string
2019-06-08 13:38:25 +02:00
2 changed files with 4 additions and 1 deletions

View File

@@ -19,6 +19,9 @@ Those can be installed using pip and the _requirements.txt_ file provided with t
Versions
--------
* v1.2.1
- Fix [#72](https://git.golderweb.de/wiki/jogobot-red/issues/72)
* v1.2
- Create a list of redfams/articles missing reddisc notice

View File

@@ -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(