Skip to content

Commit

Permalink
Jamu: Don't crash if cast is NULL.
Browse files Browse the repository at this point in the history
Fixes #9693.
  • Loading branch information
Robert McNamara committed Jun 19, 2011
1 parent 3ffe4d2 commit bda604d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/contrib/metadata/jamu.py
Expand Up @@ -2542,7 +2542,8 @@ def getSeriesEpisodeData(self):
if len(tmp_cast):
cast_members=''
for cast in tmp_cast:
cast_members+=(cast['name']+u', ').encode('utf8')
if cast['name'] is not None:
cast_members+=(cast['name']+u', ').encode('utf8')
if cast_members != '':
try:
cast_members = cast_members[:-2].encode('utf8')
Expand Down

0 comments on commit bda604d

Please sign in to comment.