Skip to content

Commit dfab25f

Browse files
minor update
1 parent 3a67124 commit dfab25f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def update_previous_completion(cached_data: dict, completion_progress: list):
4949
current_sunday = get_last_sunday()
5050
if cached_data.get('last_sunday') != current_sunday:
5151
cached_data['previous_completion'] = {
52-
item['language']['code']: item['completion'] for item in completion_progress
52+
item.language.code: item.completion for item in completion_progress
5353
}
5454
cached_data['last_sunday'] = current_sunday
5555

0 commit comments

Comments
 (0)