blob: 0f7c13d078c7ce2a9088584eeed8dc2b3f74d03e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!C:\Python364\python3.exe
# -*- coding: utf-8 -*-
import sys, codecs
import cgi, cgitb
import pymysql
import issuedb
from issuedb import IssueDBFactory
sys.stdout = codecs.getwriter('utf8')(sys.stdout.buffer)
add_html_file = open("add.html", 'r', encoding='utf8')
add_html = add_html_file.read()
print("Content-type:text/html\n")
print(add_html)
add_html_file.close()
|