Skip to content

Commit

Permalink
Adjusted component name wording
Browse files Browse the repository at this point in the history
  • Loading branch information
plamere committed Feb 19, 2016
1 parent 3532cc2 commit b0db0c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/plugs.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class TrackFilter(object):
produces tracks on the true source that are not on the false source
'''
def __init__(self, true_source, false_source, invert=False):
prep = ' that are also in ' if invert else 'that are not in '
prep = ' that are also in ' if invert else ' that are not in '
self.name = 'tracks in ' + true_source.name + prep + \
false_source.name
self.true_source = true_source
Expand Down Expand Up @@ -140,7 +140,8 @@ class ArtistFilter(object):
produces tracks on the true source that are not by artists the false source
'''
def __init__(self, true_source, false_source, invert=False):
self.name = 'tracks in ' + true_source.name + ' that are not by ' + \
prep = ' that are by ' if invert else ' that are not by '
self.name = 'tracks in ' + true_source.name + prep + \
'artists in' + false_source.name
self.true_source = true_source
self.false_source = false_source
Expand Down

0 comments on commit b0db0c9

Please sign in to comment.