|
@@ -31,7 +31,6 @@ def live_now(): # Check if stream is live
|
|
|
url = f'{owncast_url}/api/status'
|
|
url = f'{owncast_url}/api/status'
|
|
|
try:
|
|
try:
|
|
|
response = requests.get(url)
|
|
response = requests.get(url)
|
|
|
- current_app.logger.info(response)
|
|
|
|
|
except requests.exceptions.RequestException as cserror:
|
|
except requests.exceptions.RequestException as cserror:
|
|
|
current_app.logger.error(f'Couldn\'t check if stream is live: {cserror.args[0]}')
|
|
current_app.logger.error(f'Couldn\'t check if stream is live: {cserror.args[0]}')
|
|
|
return False
|
|
return False
|