#!/usr/bin/env python3 import html import cgi import requests import funct import sql from configparser import ConfigParser, ExtendedInterpolation from requests_toolbelt.utils import dump print("Content-type: text/html\n") form = cgi.FieldStorage() serv = form.getvalue('serv') if serv is None: first_serv = sql.get_dick_permit() for i in first_serv: serv = i[2] break print('