* Radarr sensor fix for issue #8250 * Radarr sensor fix for issue #8250pull/8468/head
parent
e5e2a151aa
commit
1366c93c83
|
@ -216,9 +216,9 @@ def get_date(zone, offset=0):
|
|||
|
||||
def get_release_date(data):
|
||||
"""Get release date."""
|
||||
date = data['physicalRelease']
|
||||
date = data.get('physicalRelease')
|
||||
if not date:
|
||||
date = data['inCinemas']
|
||||
date = data.get('inCinemas')
|
||||
return date
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue