forked from p15670423/monkey
Agent: Remove unnecessary logic in _check_if_island_server()
This commit is contained in:
parent
69b26287b6
commit
9456a30bd9
|
@ -54,7 +54,7 @@ def _check_if_island_server(server: str) -> bool:
|
||||||
logger.debug(f"Trying to connect to server: {server}")
|
logger.debug(f"Trying to connect to server: {server}")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
_ = IslandAPIClient(server)
|
IslandAPIClient(server)
|
||||||
|
|
||||||
return True
|
return True
|
||||||
except IslandAPIConnectionError as err:
|
except IslandAPIConnectionError as err:
|
||||||
|
|
Loading…
Reference in New Issue