update current python-ox api

This commit is contained in:
j 2013-01-15 16:17:02 +05:30
parent 58f0f1cbeb
commit e76ea7adb7
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ for l in locations:
l['user'] = User.objects.get(username=l['user'].strip())
else:
l['user'] = User.objects.all().order_by('id')[0]
l['name'] = ox.decodeHtml(l['name'])
l['name'] = ox.decode_html(l['name'])
l['created'] = datetime.fromtimestamp(int(l['created']))
l['modified'] = datetime.fromtimestamp(int(l['modified']))
l['alternativeNames'] = tuple(l['alternativeNames'])