responseData is None (coverlovin 2.0)
Bug #1210950 reported by
Thorsten Sick
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CoverLovin |
New
|
Undecided
|
Unassigned | ||
Debian |
New
|
Undecided
|
Unassigned |
Bug Description
Traceback (most recent call last):
File "./coverlovin.py", line 273, in <module>
sys.
File "./coverlovin.py", line 260, in main
urls = get_img_
File "./coverlovin.py", line 114, in get_img_urls
for result in results[
TypeError: 'NoneType' object has no attribute '__getitem__'
A fix in line 114 is to also check responseData:
if results and "responseData" in results:
for result in results[
To post a comment you must log in.