Fixed formatting.
This commit is contained in:
parent
146ae3c279
commit
4069dd21a3
89 changed files with 615 additions and 496 deletions
|
@ -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)
|
||||
|
||||
|
|
Reference in a new issue