[allocine] roles in get_person

This commit is contained in:
Julien Veyssier 2013-03-26 00:15:27 +01:00 committed by Florent
commit 63c769305d
3 changed files with 7 additions and 2 deletions

View file

@ -146,7 +146,7 @@ class PersonInfoFormatter(IFormatter):
for movie in lmovies:
result += ' * %s\n' % movie
if not empty(obj.short_biography):
result += '\n%sBiography%s\n' % (self.BOLD, self.NC)
result += '\n%sShort biography%s\n' % (self.BOLD, self.NC)
result += '%s' % obj.short_biography
return result

View file

@ -84,7 +84,6 @@ class Person(QFrame):
QApplication.setOverrideCursor(Qt.WaitCursor)
self.backend.fill_person(self.person, 'biography')
bio = self.person.biography
#bio = self.backend.get_person_biography(self.person.id)
self.ui.shortBioPlain.setPlainText(bio)
self.ui.biographyLabel.setText('Full biography:')
self.ui.biographyButton.hide()