Skip to content

Commit

Permalink
fix: package archive bug
Browse files Browse the repository at this point in the history
  • Loading branch information
henilp105 committed May 25, 2024
1 parent 2ebad33 commit 476dea6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,8 @@ def validate() -> None:
pass
try:
update_data['registry_description'] = open(f"static/temp/{packagename}/README.md", "r").read()
print('README.md found')
except:
update_data['registry_description'] = result[1].get('description', "description not provided.")
print('README.md not found',f'static/temp/{packagename}/README.md')

for key in ['repository', 'copyright', 'description',"homepage", 'categories', 'keywords']:
if key in result[1] and package[key] != result[1][key]:
Expand Down

0 comments on commit 476dea6

Please sign in to comment.