From b5febca75cb3e369b3580d856f5abbfbf488dc88 Mon Sep 17 00:00:00 2001 From: Pogarek Date: Sun, 5 Mar 2017 16:10:09 +0100 Subject: [PATCH 1/2] updating webui --- web | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web b/web index ea19887d4a..5bfe3a7c9b 160000 --- a/web +++ b/web @@ -1 +1 @@ -Subproject commit ea19887d4af6c4814411f144a4c1e37193c393f0 +Subproject commit 5bfe3a7c9b0faa3dbedb70fe79a6658ba5a90084 From 577d0afd0655f35a73f18bc1eab14196b8454eb3 Mon Sep 17 00:00:00 2001 From: xty Date: Mon, 6 Mar 2017 15:21:00 +0800 Subject: [PATCH 2/2] 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),