ChandimaPrabath commited on
Commit
ca6954c
·
1 Parent(s): 7bb63b8
Files changed (1) hide show
  1. tvdb.py +1 -1
tvdb.py CHANGED
@@ -130,7 +130,7 @@ async def fetch_and_cache_json(original_title, title, media_type, year=None):
130
  description = None
131
  if cleaned_data['data'].get('translations') and cleaned_data['data']['translations'].get('overviewTranslations'):
132
  for overview in cleaned_data['data']['translations']['overviewTranslations']:
133
- if overview['language'] == 'eng' and overview.get('isPrimary'):
134
  description = overview.get('overview')
135
  break
136
  print(f"Description extracted: {description}")
 
130
  description = None
131
  if cleaned_data['data'].get('translations') and cleaned_data['data']['translations'].get('overviewTranslations'):
132
  for overview in cleaned_data['data']['translations']['overviewTranslations']:
133
+ if overview['language'] == 'eng':
134
  description = overview.get('overview')
135
  break
136
  print(f"Description extracted: {description}")