From 94675dd67355f9dbeb265dca61efde1b3cde9933 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 13 May 2021 14:29:27 +0100 Subject: [PATCH] Length --- skills.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skills.py b/skills.py index 00d258d09..5a6ac7870 100644 --- a/skills.py +++ b/skills.py @@ -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