convert string to unicode to avoid warning message

This commit is contained in:
Bezleputh 2014-02-26 20:10:40 +01:00
commit 95ca604472
2 changed files with 2 additions and 2 deletions

View file

@ -110,7 +110,7 @@ class GenericNewsPage(BasePage):
def get_title(self):
try:
return self.parser.select(
return u'%s' % self.parser.select(
self.main_div,
self.element_title_selector,
1).text_content().strip()