None not empty string as release date
This commit is contained in:
parent
c3874d9a68
commit
c466c35253
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ def getMovieExternalReviews(imdbId):
|
|||
|
||||
def getMovieReleaseDate(imdbId):
|
||||
releasedates = getMovieReleaseDates(imdbId)
|
||||
first_release = ''
|
||||
first_release = None
|
||||
for r in releasedates:
|
||||
if not first_release or r[1] < first_release:
|
||||
first_release = r[1]
|
||||
|
|
Loading…
Reference in a new issue