瀏覽代碼

Fix variable name spelling.

pull/8/merge
Ben Kurtovic 11 年之前
父節點
當前提交
2d9b604ebe
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      commands/weather.py

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

@@ -63,7 +63,7 @@ class Weather(Command):
if "error" in res["response"]:
try:
desc = res["response"]["error"]["description"]
desc = desc[0].upper() + des[1:]
desc = desc[0].upper() + desc[1:]
if desc[-1] not in (".", "!", "?"):
desc += "."
except (KeyError, IndexError):


Loading…
取消
儲存