#!/usr/bin/python3 print("""Content-Type: text/html\n\n""") print("""\n\n""") import cgi import cgitb; cgitb.enable() import sys import os import Config try: from urllib.parse import quote except: from urllib import quote try: from ctf import teams except: path = '/home/pflarr/repos/gctf/' sys.path.append(path) from ctf import teams teams.build_teams() head = open('head.html').read() % "Error Report" print(head) print('