Skip to content

Commit

Permalink
fixed the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nfearnley committed Dec 2, 2023
1 parent 2503cf2 commit a9ecb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sizebot/lib/proportions.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def scale(self, scale_value: Decimal) -> StatBox:
processed.append(sv)
# If no progress
if len(queued) == len(processing):
raise errors.UnfoundStatException([s.name for s in queued])
raise errors.UnfoundStatException([s.stat.name for s in queued])
return StatBox(processed)

def get(self, stat_name: str) -> StatValue | None:
Expand Down

0 comments on commit a9ecb1c

Please sign in to comment.