merge-requests/30/head
Bob Mottram 2021-05-13 14:29:27 +01:00
parent 0cc86dc131
commit 94675dd673
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ def noOfActorSkills(actorJson: {}) -> int:
if actorJson.get('hasOccupation'):
skillsList = actorJson['hasOccupation']['skills'].split(',')
if skillsList:
return int(skillsList)
return len(skillsList)
return 0