Fixed formatting.

This commit is contained in:
Fletcher Boyd 2013-09-04 18:30:04 +08:00
parent 146ae3c279
commit 4069dd21a3
89 changed files with 615 additions and 496 deletions

View file

@ -1,9 +1,10 @@
from util import hook, http
@hook.command("math")
@hook.command
def calc(inp):
"calc <term> -- Calculate <term> with Google Calc."
"""calc <term> -- Calculate <term> with Google Calc."""
soup = http.get_soup('http://www.google.com/search', q=inp)