Skip to content
Browse files

Jamu: Don't crash if cast is NULL.

Fixes #9693.
  • Loading branch information
Robert McNamara
Robert McNamara committed Jun 19, 2011
1 parent 3ffe4d2 commit bda604d887be6f685bdbd29fd6ddc6cfce5f836f
Showing with 2 additions and 1 deletion.
  1. +2 −1 mythtv/contrib/metadata/
@@ -2542,7 +2542,8 @@ def getSeriesEpisodeData(self):
if len(tmp_cast):
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 != '':
cast_members = cast_members[:-2].encode('utf8')

0 comments on commit bda604d

Please sign in to comment.
You can’t perform that action at this time.