Skip to content

Commit

Permalink
Un-fixed two bugs in CSSFeatures list
Browse files Browse the repository at this point in the history
  • Loading branch information
Burton DeWilde committed Dec 23, 2016
1 parent ecaba85 commit 5ecf283
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions dragnet/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,12 @@ class CSSFeatures(object):
'thread',
'author',
'tools',
'reply',
'url',
'avatar'] # , 'ss'] <-- duplicate?!
# these two strings were implicitly concatenated
# this is a bug, and it will be fixed
'reply' + 'url',
'avatar',
# this is a duplicate entry (see above)
'ss']
}

_attribute_order = ['id', 'class']
Expand Down

0 comments on commit 5ecf283

Please sign in to comment.