Browse Source

Fix variable name spelling.

pull/8/merge
Ben Kurtovic 11 years ago
parent
commit
2d9b604ebe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      commands/weather.py

+ 1
- 1
commands/weather.py View File

@@ -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…
Cancel
Save