diff --git a/Weather/plugin.py b/Weather/plugin.py index 06c2818..96490f0 100644 --- a/Weather/plugin.py +++ b/Weather/plugin.py @@ -306,10 +306,7 @@ class Weather(callbacks.Plugin): url = 'http://autocomplete.wunderground.com/aq?query=%s' % utils.web.urlquote(q) self.log.debug("Weather: Autocomplete URL: %s", url) - try: - page = utils.web.getUrl(url, timeout=5) - except utils.web.Error as e: - irc.error("Failed to load location data for %r." % q, Raise=True) + page = utils.web.getUrl(url, timeout=5) data = json.loads(page.decode('utf-8')) results = []