Watched: Use enumerate

This commit is contained in:
Luigi311
2024-01-06 00:16:13 -07:00
parent f80c20d70c
commit 7317e8533d

View File

@@ -274,7 +274,7 @@ def filter_episode_watched_list_2_keys_dict(
if key not in filtered_episode_watched_list_2_keys_dict: if key not in filtered_episode_watched_list_2_keys_dict:
filtered_episode_watched_list_2_keys_dict[key] = [] filtered_episode_watched_list_2_keys_dict[key] = []
for index in range(len(value)): for index, _ in enumerate(value):
if index in indecies: if index in indecies:
filtered_episode_watched_list_2_keys_dict[key].append(value[index]) filtered_episode_watched_list_2_keys_dict[key].append(value[index])
else: else: