Skip to content

Commit

Permalink
[currency] Correct typo on invalid currency
Browse files Browse the repository at this point in the history
  • Loading branch information
lramati committed Nov 30, 2014
1 parent 5d87935 commit fd5bb92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions currency.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ def display(bot, amount, of, to):
try:
of_rate, of_name = get_rate(of)
if not of_name:
bot.reply("Unkown currency: %s" % of)
bot.reply("Unknown currency: %s" % of)
return
to_rate, to_name = get_rate(to)
if not to_name:
bot.reply("Unkown currency: %s" % to)
bot.reply("Unknown currency: %s" % to)
return
except Exception as e:
raise
Expand Down

0 comments on commit fd5bb92

Please sign in to comment.