Verified Commit 51b7f35b authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Remove non-working etherpad check

parent e31f0073
......@@ -378,17 +378,12 @@ def check_printing(PRINTING_SERVER, PRINTING_USER, PRINTING_PRINTERS):
def check_etherpad(ETHERPAD_URL, EMPTY_ETHERPAD):
import requests
key = "Server"
answer = requests.get(ETHERPAD_URL)
if answer.status_code != 200:
raise ValueError(
"The etherpad does not return 200 OK at {}".format(
headers = answer.headers
if key not in headers or "Etherpad" not in headers[key]:
raise ValueError("{} does not look like an etherpad!".format(
except requests.exceptions.ConnectionError as error:
raise ValueError("Cannot connect to the etherpad at {}: {}".format(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment