converted int to string

This commit is contained in:
pau sch 2022-07-15 08:57:33 +02:00 committed by Fauli1221
parent ff6e2ce51b
commit 8fd4bcb155

View file

@ -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',