feature: tweak if statement

This commit is contained in:
ievgenii vdovenko 2025-11-15 17:23:53 +01:00
parent 0e08a98987
commit 3a8d727e1a

View file

@ -61,7 +61,7 @@ class UserQuotaModel:
def formatted_user_max_repository_count_allowance(self) -> str:
max_repos = self.user_max_repository_count_allowance
if max_repos is self.UNLIMITED:
if max_repos == self.UNLIMITED:
return "Unlimited"
return str(max_repos)