Skip to content

Commit

Permalink
Fixed FAIRsharing License field location
Browse files Browse the repository at this point in the history
  • Loading branch information
u8sand committed Sep 14, 2018
1 parent 8b302f7 commit 2fe450c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FAIRshakeAPI/assessments/fairsharing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def perform(kls, inputs):
# 'comment': results['data'].get('name'),
# },
'metric:9': {
'answer': 'yes' if results['data'].get('licence') else 'no',
'comment': results['data'].get('licence'),
'answer': 'yes' if results.get('licence') else 'no',
'comment': results.get('licence'),
},
'metric:60': {
'answer': 'yes' if results['data'].get('homepage') is not None else 'no',
Expand Down

0 comments on commit 2fe450c

Please sign in to comment.