Browse Source

Fallback on type for current downloads

pull/2076/head
Ruud 12 years ago
parent
commit
199e61ea14
  1. 2
      couchpotato/core/plugins/renamer/main.py

2
couchpotato/core/plugins/renamer/main.py

@ -827,7 +827,7 @@ Remove it if you want it to be renamed (again, or at least let it try again)
download_info.update({ download_info.update({
'imdb_id': rls.movie.library.identifier, 'imdb_id': rls.movie.library.identifier,
'quality': rls.quality.identifier, 'quality': rls.quality.identifier,
'protocol': rls_dict.get('info', {}).get('protocol') 'protocol': rls_dict.get('info', {}).get('protocol') or rls_dict.get('info', {}).get('type'),
}) })
return download_info return download_info

Loading…
Cancel
Save