瀏覽代碼

Fix the other one too

pull/8/head
Kunal Mehta 11 年之前
父節點
當前提交
3c66a3d98b
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      commands/dictionary.py

+ 1
- 1
commands/dictionary.py 查看文件

@@ -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)


Loading…
取消
儲存