From 9c4ad9acda10a8cbd3fa42c8f6343a2da3af8e25 Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 29 Feb 2016 07:04:12 -0800 Subject: [PATCH] MCInfo: fix typos in comments wtf is a "fatch"? --- MCInfo/plugin.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MCInfo/plugin.py b/MCInfo/plugin.py index ecd128e..0c60c3d 100644 --- a/MCInfo/plugin.py +++ b/MCInfo/plugin.py @@ -92,7 +92,7 @@ class MCInfo(callbacks.Plugin): soup = BeautifulSoup(article) - # Find the "Crafting table" displayed in the Wiki fatch showing how to craft something. + # Find the "Crafting table" displayed in the Wiki page showing how to craft the item. crafting_table = soup.find('table', attrs={"data-description": 'Crafting recipes'}) if not crafting_table: irc.error("No crafting information found.", Raise=True) @@ -105,8 +105,6 @@ class MCInfo(callbacks.Plugin): if t == 'Crafting ingredient': irc.error("The item '%s' cannot be crafted." % item, Raise=True) - - # Get the first crafting result. TODO: optionally show all recipes if there are more than one. crafting_data = crafting_table.find_all('tr')[1]