Skip to content

Commit

Permalink
fix: styling
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed Feb 18, 2024
1 parent ecb4df5 commit 77724c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions horde/apis/v2/stable.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def validate(self):
if len(usermodel) == 1:
raise e.BadRequest(
"Special models must always include the username, in the form of 'horde_special::user#id'",
rc="SpecialMissingUsername"
rc="SpecialMissingUsername",
)
user_alias = usermodel[1]
if self.user.get_unique_alias() != user_alias:
Expand Down Expand Up @@ -197,7 +197,7 @@ def validate(self):
"This Client-Agent appears badly designed and is causing too many warnings. "
"First ensure it provides a proper name and contact details. "
"Then contact us on Discord to discuss the issue it's creating.",
rc="BannedClientAgent"
rc="BannedClientAgent",
)

# We split this into its own function, so that it may be overriden
Expand Down

0 comments on commit 77724c2

Please sign in to comment.