Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
svartkanin committed Nov 7, 2024
1 parent 731c94c commit b2555c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archinstall/lib/models/mirrors.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def latency(self) -> float | None:
return self._latency

@field_validator('score', mode='before')
def validate_score(self, value: int) -> Optional[int]:
def validate_score(cls, value: int) -> Optional[int]:
if value is not None:
value = round(value)
debug(f" score: {value}")
Expand Down

0 comments on commit b2555c0

Please sign in to comment.