mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-11-18 14:33:41 +00:00
fix check errors
This commit is contained in:
@ -52,7 +52,8 @@ class WebClient(Client):
|
||||
:param exception: exception raised
|
||||
:return: text of the response if it is not None and empty string otherwise
|
||||
"""
|
||||
return exception.response.text if exception.response is not None else ''
|
||||
result: str = exception.response.text if exception.response is not None else ''
|
||||
return result
|
||||
|
||||
def _ahriman_url(self) -> str:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user