From 331bdb1a4b9e7cc53d084eff6b87f5326824a8dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Mart=C3=ADn?= Date: Tue, 22 Sep 2015 19:49:07 +0200 Subject: [PATCH] Fixed getattr --- amiibofindr/apps/amiibo/management/commands/fetch_price.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amiibofindr/apps/amiibo/management/commands/fetch_price.py b/amiibofindr/apps/amiibo/management/commands/fetch_price.py index fda2b87..8aba48e 100644 --- a/amiibofindr/apps/amiibo/management/commands/fetch_price.py +++ b/amiibofindr/apps/amiibo/management/commands/fetch_price.py @@ -18,7 +18,7 @@ class Command(BaseCommand): item_id=product['shop_product_id'], shop__flag_code=region[0] ) - amiibo_shop.shop_name = product.title + amiibo_shop.shop_name = product['title'] amiibo_shop.update_price(product['price'], product['currency']) def handle(self, *args, **kwargs):