Tweak reply processing
This commit is contained in:
parent
9cbe608fc9
commit
ade3bee214
4 changed files with 10 additions and 6 deletions
|
@ -69,7 +69,7 @@ def get_software_name(server: str) -> str:
|
|||
|
||||
return SoftwareName.UNKNOWN.value
|
||||
except requests.RequestException:
|
||||
pass
|
||||
return SoftwareName.UNKNOWN.value
|
||||
|
||||
if _try_mastodon_api(server):
|
||||
return SoftwareName.MASTODON.value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue