Added slogan plugin, updated MTG plugin.

This commit is contained in:
Luke Rogers 2011-11-21 13:09:33 +13:00
parent 6c04fc80dc
commit c331e0adf6
2 changed files with 16 additions and 1 deletions

View file

@ -12,7 +12,7 @@ def mtg(inp):
name = h.find('body/table/tr/td/span/a')
if name is None:
return "no cards found"
return "No cards found :("
card = name.getparent().getparent().getparent()
type = card.find('td/p').text.replace('\n', '')