Skip to content

Commit 302b6c7

Browse files
authored
fix valid status set from broken (#7)
1 parent 3ccd5c0 commit 302b6c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/fetch_updates.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,11 @@ def process_contribution(contribution):
5858
log_broken(contribution, f'invalid file, {date_today}')
5959
return
6060

61+
contribution['status'] = 'VALID'
62+
6163
if props['version'] != this_version:
6264
# update from online
6365
update_contribution(contribution, props)
64-
contribution['status'] = 'VALID'
6566

6667

6768
if __name__ == "__main__":

0 commit comments

Comments
 (0)