Skip to content

Commit d219aac

Browse files
committed
fix CSS selector not working on Python 2.6
1 parent 3431f66 commit d219aac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

atwiki/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def get_tags(self):
6161
while True:
6262
count = 0
6363
soup = self._request(self._uri.tag('', index))
64-
links = soup.find('div', attrs={'class': 'cmd_tag'}).select('a.tag')
64+
links = soup.find('div', attrs={'class': 'cmd_tag'}).findAll('a', attrs={'class': 'tag'})
6565
for link in links:
6666
tag_name = link.text
6767
tag_weight = 0

0 commit comments

Comments
 (0)