Fix mirror check unicode function
Needed a few self. qualifiers in there. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
fc3ab08cb5
commit
5db6522b35
@ -80,7 +80,7 @@ class MirrorLog(models.Model):
|
||||
error = models.CharField(max_length=255, blank=True, default='')
|
||||
|
||||
def __unicode__(self):
|
||||
return "Check of %s at %s" % (url.url, check_time)
|
||||
return "Check of %s at %s" % (self.url.url, self.check_time)
|
||||
|
||||
class Meta:
|
||||
verbose_name = 'Mirror Check Log'
|
||||
|
Loading…
Reference in New Issue
Block a user