update current python-ox api
This commit is contained in:
parent
58f0f1cbeb
commit
e76ea7adb7
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||
|
|
Loading…
Reference in a new issue