From finding in #142

This commit is contained in:
Blacktwin 2019-02-07 00:45:33 -05:00
parent 625948b73e
commit 88f775e646

View File

@ -118,9 +118,8 @@ for user in USER_LST:
pass pass
for movie_dict in movie_lst: for movie_dict in movie_lst:
for key, value in movie_dict.items(): if set(USER_LST) == set(movie_dict['watched_by']):
if value == USER_LST: print(u"{} has been watched by {}".format(movie_dict['title']," & ".join(USER_LST)))
print(u"{} has been watched by {}".format(movie_dict['title']," & ".join(USER_LST))) delete_lst.append(movie_dict['file'])
delete_lst.append(movie_dict['file'])
delete_files(delete_lst) delete_files(delete_lst)