diff --git a/sailthru/sailthru_client.py b/sailthru/sailthru_client.py index 18c344e..3180b36 100644 --- a/sailthru/sailthru_client.py +++ b/sailthru/sailthru_client.py @@ -423,7 +423,7 @@ def push_content(self, title, url, data['location'] = date if price is not None: data['price'] = price - if data['inventory'] is not None: + if inventory is not None: data['inventory'] = inventory if description is not None: data['description'] = description