update
This commit is contained in:
parent
8e0cc85a12
commit
15f4540ec5
@ -70,8 +70,8 @@ while i < len(MoviesList):
|
|||||||
if MoviesList[i].MovieTMDbCollectionTMDbId == movie.MovieTMDbCollectionTMDbId:
|
if MoviesList[i].MovieTMDbCollectionTMDbId == movie.MovieTMDbCollectionTMDbId:
|
||||||
count += 1
|
count += 1
|
||||||
if count > 2:
|
if count > 2:
|
||||||
logger.info(f"Keeping collection {MoviesList[i].MovieTMDbCollectionName} which contains 3 or more movies")
|
|
||||||
if not MoviesList[i].MovieTMDbCollectionTMDbId in ExistingCollectionId:
|
if not MoviesList[i].MovieTMDbCollectionTMDbId in ExistingCollectionId:
|
||||||
|
logger.info(f"Keeping collection {MoviesList[i].MovieTMDbCollectionName} which contains 3 or more movies")
|
||||||
ExistingCollectionId.append(MoviesList[i].MovieTMDbCollectionTMDbId)
|
ExistingCollectionId.append(MoviesList[i].MovieTMDbCollectionTMDbId)
|
||||||
MovieListFinal.append(MoviesList[i])
|
MovieListFinal.append(MoviesList[i])
|
||||||
i += 1
|
i += 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user