[allocine] handle empty result

[qcineoob] QString -> unicode
This commit is contained in:
Julien Veyssier 2013-03-26 15:35:24 +01:00
commit ce1723df16
2 changed files with 35 additions and 7 deletions

View file

@ -71,7 +71,7 @@ class Person(QFrame):
def filmography(self):
role = None
tosearch = self.ui.filmographyCombo.currentText()
tosearch = unicode(self.ui.filmographyCombo.currentText())
role_desc = ''
if tosearch != 'all':
role = tosearch