Skip to content

Commit

Permalink
Changed PrefProxy.__str__() behaviour.
Browse files Browse the repository at this point in the history
  • Loading branch information
idlesign committed May 9, 2014
1 parent a56e163 commit 51623e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions siteprefs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ def __call__(self, *args, **kwargs):
return self.get_value()

def __str__(self):
return '%s' % self.get_value()

def __repr__(self):
return '%s = %s' % (self.name, self.get_value())


Expand Down

0 comments on commit 51623e2

Please sign in to comment.