Skip to content

Commit

Permalink
Correct spelling of "Pinap Berry"
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
xty authored Mar 6, 2017
1 parent e9cdef0 commit 577d0af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pokemongo_bot/cell_workers/update_live_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class UpdateLiveInventory(BaseTask):
'blukberries'
'nanabberries'
'wapabberries'
'pinabberries'
'pinapberries'
'luckyegg'
'incubator'
'troydisk'
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 577d0af

Please sign in to comment.