From 577d0afd0655f35a73f18bc1eab14196b8454eb3 Mon Sep 17 00:00:00 2001 From: xty Date: Mon, 6 Mar 2017 15:21:00 +0800 Subject: [PATCH] Correct spelling of "Pinap Berry" Currently when "pinapberries" is specified in the item list under UpdateLiveInventory, the following exception is raised: File "./pokemongo_bot/cell_workers/update_live_inventory.py", line 200, in get_item raise ConfigException("item '{}' isn't available for displaying".format(item)) pokemongo_bot.tree_config_builder.ConfigException: item 'pinapberries' isn't available for displaying It turns out "pinapberries" is misspelled as "pinabberries" and this update serves to eliminate the typo. --- pokemongo_bot/cell_workers/update_live_inventory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pokemongo_bot/cell_workers/update_live_inventory.py b/pokemongo_bot/cell_workers/update_live_inventory.py index f49af08493..a1c09a2d7b 100644 --- a/pokemongo_bot/cell_workers/update_live_inventory.py +++ b/pokemongo_bot/cell_workers/update_live_inventory.py @@ -41,7 +41,7 @@ class UpdateLiveInventory(BaseTask): 'blukberries' 'nanabberries' 'wapabberries' - 'pinabberries' + 'pinapberries' 'luckyegg' 'incubator' 'troydisk' @@ -166,7 +166,7 @@ def get_inventory_line(self, is_debug=False): 'blukberries': 'BlukBerries: {:,}'.format(self.inventory.get(702).count), 'nanabberries': 'NanabBerries: {:,}'.format(self.inventory.get(703).count), 'wepabberries': 'WeparBerries: {:,}'.format(self.inventory.get(704).count), - 'pinabberries': 'PinapBerries: {:,}'.format(self.inventory.get(705).count), + 'pinapberries': 'PinapBerries: {:,}'.format(self.inventory.get(705).count), 'luckyegg': 'LuckyEgg: {:,}'.format(self.inventory.get(301).count), 'incubator': 'Incubator: {:,}'.format(self.inventory.get(902).count), 'troydisk': 'TroyDisk: {:,}'.format(self.inventory.get(501).count),