Radarr sensor fix for issue #8250 (#8456)

* Radarr sensor fix for issue #8250

* Radarr sensor fix for issue #8250
pull/8468/head
Bryce Edwards 2017-07-13 22:02:07 -05:00 committed by Paulus Schoutsen
parent e5e2a151aa
commit 1366c93c83
1 changed files with 2 additions and 2 deletions

View File

@ -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