Skip to content

Commit

Permalink
Modified default field values
Browse files Browse the repository at this point in the history
* Modified the default field values of new category member and
  category member revisions to 'All articles lacking sources'
  to match that in the TEST_FIELDS list.

Signed-off-by: Alangi Derick <alangiderick@gmail.com>
  • Loading branch information
xSavitar committed Jul 19, 2016
1 parent 479b5cb commit c893640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ifttt/triggers.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def validate_tags(self, rev):

class NewCategoryMember(BaseTriggerView):
"""Trigger each time a new article appears in a category"""
default_fields = {'lang': DEFAULT_LANG, 'category': 'All stub articles'}
default_fields = {'lang': DEFAULT_LANG, 'category': 'All articles lacking sources'}

@add_images
def get_data(self):
Expand Down Expand Up @@ -494,7 +494,7 @@ def parse_result(self, rev):
class CategoryMemberRevisions(BaseTriggerView):
"""Trigger for revisions to articles within a specified category."""

default_fields = {'lang': DEFAULT_LANG, 'category': 'All stub articles'}
default_fields = {'lang': DEFAULT_LANG, 'category': 'All articles lacking sources'}

@add_images
def get_data(self):
Expand Down

0 comments on commit c893640

Please sign in to comment.