mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Schedule job to check if server down
This commit is contained in:
parent
b28ac1543a
commit
4d87666a42
3 changed files with 36 additions and 1 deletions
|
@ -1648,4 +1648,17 @@ class PmsConnect(object):
|
|||
'children': parents}
|
||||
}
|
||||
|
||||
return key_list
|
||||
return key_list
|
||||
|
||||
"""
|
||||
Check for a server response.
|
||||
|
||||
Output: bool
|
||||
"""
|
||||
def get_server_response(self):
|
||||
response = self.get_server_list()
|
||||
|
||||
if not response:
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue