blob: 0372b03e3c894a051685464400fb56e212beebb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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()
|