fix unicode warning
This commit is contained in:
parent
c20e97d070
commit
b8a1df26c1
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ class GenericNewsPage(BasePage):
|
|||
|
||||
def get_author(self):
|
||||
try:
|
||||
return self.get_element_author().text_content().strip()
|
||||
return u'%s' % self.get_element_author().text_content().strip()
|
||||
except (NoAuthorElement, NoneMainDiv):
|
||||
#TODO: Mettre un warning
|
||||
return self.__article.author
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue