Browse files

trivial fix

  • Loading branch information...
1 parent 2aa68f2 commit cb937be99cf3520290c5853b2ab003e73c4f2a50 Justine Tunney committed Nov 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 occupywallst/models.py
View
2 occupywallst/models.py
@@ -654,7 +654,7 @@ class SpamText(models.Model):
expression?""")
def __unicode__(self):
- return "%s%s" % ('' if self.is_regex else ' (regex)', self.text)
+ return "%s%s" % (self.text, ' (regex)' if self.is_regex else '')
def match(self, msg):
if self.is_regex:

0 comments on commit cb937be

Please sign in to comment.