[WIP] Refactoring routine_detail function
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Gregory Trullemans 2022-01-09 13:10:59 +01:00
parent 81586a9aa3
commit b39d33caf5
1 changed files with 8 additions and 2 deletions

View File

@ -270,13 +270,19 @@ class Routine(Educative):
# Age boy computing
age_boy_with_help = max_even_if_none(skill.age_boy_with_help, age_boy_with_help)
age_boy_without_help = max_even_if_none(skill.age_boy_without_help, age_boy_without_help)
age_boy_without_help = max_even_if_none(
skill.age_boy_without_help,
age_boy_without_help
)
age_boy_chained = max_even_if_none(skill.age_boy_chained, age_boy_chained)
age_boy_masterised = max_even_if_none(skill.age_boy_masterised, age_boy_masterised)
# Age girl computing
age_girl_with_help = max_even_if_none(skill.age_girl_with_help, age_girl_with_help)
age_girl_without_help = max_even_if_none(skill.age_girl_without_help, age_girl_without_help)
age_girl_without_help = max_even_if_none(
skill.age_girl_without_help,
age_girl_without_help
)
age_girl_chained = max_even_if_none(skill.age_girl_chained, age_girl_chained)
age_girl_masterised = max_even_if_none(skill.age_girl_masterised, age_girl_masterised)