only if director exists
This commit is contained in:
parent
92f5ae3f7d
commit
babbfffece
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ class IMDb:
|
|||
director = self.parseCredits().get('director', None)
|
||||
if director:
|
||||
director = director[0]
|
||||
parsed_value = parsed_value.replace(director, '')
|
||||
parsed_value = parsed_value.replace(director, '')
|
||||
if parsed_value.startswith("'s"):
|
||||
parsed_value = parsed_value[2:].strip()
|
||||
parsed_value = parsed_value.strip()
|
||||
|
|
Loading…
Reference in a new issue