Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app
ctx.push()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request
except Exception as e:
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception
if handler is None:
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request
if rv is None:
File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
otherwise dispatch to the handler for that endpoint
File "/srv/depicts/app.py", line 419, in item_page
if 'redirects' in entity:
TypeError: argument of type 'NoneType' is not iterable
URL: https://art.wikidata.link/item/Q41515839
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app ctx.push() File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request except Exception as e: File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception if handler is None: File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise raise value File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request if rv is None: File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
otherwise dispatch to the handler for that endpoint
File "/srv/depicts/app.py", line 419, in item_page if 'redirects' in entity: TypeError: argument of type 'NoneType' is not iterable