forked from Ponysearch/Ponysearch
converted int to string
This commit is contained in:
parent
ff6e2ce51b
commit
8fd4bcb155
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def response(resp):
|
||||||
results.append(
|
results.append(
|
||||||
{
|
{
|
||||||
'template': 'images.html',
|
'template': 'images.html',
|
||||||
'url': 'https://derpibooru.org/images/' + result.get('id'),
|
'url': 'https://derpibooru.org/images/' + str(result.get('id')),
|
||||||
'thumbnail_src': result.get(result['representations']['thumb']),
|
'thumbnail_src': result.get(result['representations']['thumb']),
|
||||||
'img_src': result.get(result['representations']['full']),
|
'img_src': result.get(result['representations']['full']),
|
||||||
'title': result.get('name') or 'unknown',
|
'title': result.get('name') or 'unknown',
|
||||||
|
|
Loading…
Reference in a new issue