'NoneType' object has no attribute 'price'