Skip to content

Commit

Permalink
- fidex long condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksiy-Lyashenko committed Jul 18, 2023
1 parent f49c724 commit 04f523c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ def main() -> None:

if len(list_of_info_skills) > 0:
for skill_detail in list_of_info_skills:
if not Skill.objects.filter(name=skill_detail["name"]).exists():
if not (
Skill.objects.filter(name=skill_detail["name"]).exists()
):
skill = Skill(
name=skill_detail["name"],
bonus=skill_detail["bonus"],
Expand Down

0 comments on commit 04f523c

Please sign in to comment.