[qcineoob] checkbox to show thumbnail in search
[allocine] fix empty productionYear problem
This commit is contained in:
parent
ce1723df16
commit
d6a0291deb
4 changed files with 23 additions and 4 deletions
|
|
@ -229,7 +229,10 @@ class AllocineBrowser(BaseBrowser):
|
|||
for m in jres['participation']:
|
||||
if m['activity']['$'] not in roles:
|
||||
roles[m['activity']['$']] = []
|
||||
roles[m['activity']['$']].append(u'(%s) %s' % (m['movie']['productionYear'], m['movie']['originalTitle']))
|
||||
pyear = '????'
|
||||
if 'productionYear' in m['movie']:
|
||||
pyear = m['movie']['productionYear']
|
||||
roles[m['activity']['$']].append(u'(%s) %s' % (pyear, m['movie']['originalTitle']))
|
||||
|
||||
|
||||
person = Person(id, name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue