Skip to content

Commit

Permalink
style: remove newline in status messages
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelrince committed Dec 7, 2024
1 parent 2904cde commit ae845aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecologits/status_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class _StatusMessage(BaseModel):
message: str

def __str__(self) -> str:
return f"{self.message}\n\nFor further information visit {STATUS_DOCS_URL.format(code=self.code)}"
return f"{self.message} For further information visit {STATUS_DOCS_URL.format(code=self.code)}"

@classmethod
def from_code(cls, code: str) -> type["_StatusMessage"]:
Expand Down

0 comments on commit ae845aa

Please sign in to comment.