Update inventory.py

Bugfix in *get_response()*