whoa, urlencode takes dicts and this was failing silently all along

pull/1/head
Andromeda Yelton 2012-12-11 13:07:09 -05:00
parent f2b715f3e8
commit be6a1082c2
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class Transaction(models.Model):
@property
def ack_link(self):
return 'https://unglue.it/supporter/%s'%urllib.urlencode(self.user.username) if not self.anonymous else ''
return 'https://unglue.it/supporter/%s' % urllib.quote(self.user.username) if not self.anonymous else ''
def save(self, *args, **kwargs):
if not self.secret: