Explorar el Código

Fix the other one too

pull/8/head
Kunal Mehta hace 11 años
padre
commit
3c66a3d98b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      commands/dictionary.py

+ 1
- 1
commands/dictionary.py Ver fichero

@@ -19,7 +19,7 @@ class UrbanDictionary(Command):
return
q = ' '.join(data.args)

url = "http://api.urbandictionary.com/v0/define?term={}"
url = "http://api.urbandictionary.com/v0/define?term={0}"
q = quote(q, safe="")
query = urlopen(url.format(q)).read()
res = loads(query)


Cargando…
Cancelar
Guardar