summaryrefslogtreecommitdiff
path: root/cgi-bin/whisper.py
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-01-31 18:27:58 +0800
committerchai <chaifix@163.com>2018-01-31 18:27:58 +0800
commitc1803a7603135e2c148d89d5e05596f5d251842a (patch)
treeb5bc28928a317d348953eee24a0af58b603040b9 /cgi-bin/whisper.py
parentdc23aa78f0cf671eac2c18ee54b23e62848fac28 (diff)
修改
Diffstat (limited to 'cgi-bin/whisper.py')
-rw-r--r--cgi-bin/whisper.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/cgi-bin/whisper.py b/cgi-bin/whisper.py
new file mode 100644
index 0000000..0372b03
--- /dev/null
+++ b/cgi-bin/whisper.py
@@ -0,0 +1,20 @@
+import path
+from path import Path
+import connect
+from connect import Connect
+
+class Whisper(object):
+ def build(whisperId):
+ conn = Connect.produce()
+ cursor = conn.cursor()
+
+ whisper_file = open(Path.template("whisper.html"), 'r', encoding="utf8")
+ whisper_templ = whisper_file.read()
+ whisper_file.close()
+
+
+
+ conn.close()
+
+
+