Fix possible UTF-8 print bug

- Legacy-Id: 3423
This commit is contained in:
Ole Laursen 2011-09-16 10:09:53 +00:00
parent 069b444d73
commit 12b80240ae

View file

@ -188,7 +188,7 @@ for o in ChairsHistory.objects.filter(chair_type=OldRole.NOMCOM_CHAIR):
# IESGLogin
for o in IESGLogin.objects.all():
print "importing IESGLogin", o.pk, o.first_name, o.last_name
print "importing IESGLogin", o.pk, o.first_name.encode("utf-8"), o.last_name.encode("utf-8")
if not o.person:
persons = PersonOrOrgInfo.objects.filter(first_name=o.first_name, last_name=o.last_name)