fixes #242, to unicode error under python2.7

This commit is contained in:
Fabian Weisshaar 2015-12-29 13:30:19 +01:00
parent 450890b005
commit ac127a2cc0

View File

@ -153,7 +153,7 @@ class Command(BaseCommand):
with transaction.atomic():
for h in Host.objects.all():
if stale_check:
host = h.name + "." + h.domain
host = h.name + "." + h.domain.name
comment = h.comment
creator = h.created_by
staleness, email_msg, log_msg = check_staleness(h)