blob: 84d84a7bba6c3ed526b03126a9f2e8968465acd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!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)
db = IssueDBFactory.produce()
cursor = db.cursor()
issue_html_file = open("issue.html", 'r', encoding='utf8')
print("Content-type:text/html\n")
|