mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[wgem] filling preset app options
This commit is contained in:
@@ -7,7 +7,7 @@ from bauh.api.http import HttpClient
|
||||
|
||||
def is_available(client: HttpClient, logger: logging.Logger) -> bool:
|
||||
try:
|
||||
client.get('https://google.com')
|
||||
client.exists('https://google.com')
|
||||
return True
|
||||
except requests.exceptions.ConnectionError:
|
||||
if logger:
|
||||
|
||||
Reference in New Issue
Block a user