Exodus-Privacy / exodus-core

Core functionality of εxodus
GNU Affero General Public License v3.0
18 stars 17 forks source link

Check if details['images'] exists before accessing it #13

Closed pnu-s closed 5 years ago

pnu-s commented 5 years ago

A check should be added in this function to check whether details['images'] exists before reading it.

https://github.com/Exodus-Privacy/exodus-core/blob/f20384135085c892e8f0983120f3db68a6782f1f/exodus_core/analysis/static_analysis.py#L294

In the case where details is None, this raises the following error message: TypeError: 'NoneType' object is not subscriptable

pnu-s commented 5 years ago

'TypeError: 'NoneType' object is not subscriptable' fixed in v1.0.16, waiting for integration into exodus

pnu-s commented 5 years ago

1.0.16 released with exodus today