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