fix clock module
1 files changed, 1 insertions(+), 1 deletions(-) M madcow/util/google.py
M madcow/util/google.py => madcow/util/google.py +1 -1
@@ 124,7 124,7 @@ class Google(object): """Use google to look up time in a given location""" doc = self.ua.open(self.search, {'q': 'time in %s' % query}) soup = BeautifulSoup(doc) table = soup.find('li', attrs={'class': re.compile('obcontainer')}) table = soup.find('div', attrs={'class': re.compile('obcontainer')}) [subtable.extract() for subtable in table.findAll('table')] return re.sub(r'\s{2,}', ' ', strip_html(self.decode(table).strip())).strip()