Skip to content

Commit cabc450

Browse files
authored
Update html.py
1 parent 67f28f9 commit cabc450

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

app/html.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@
77
templates = Jinja2Templates(directory='templates/')
88

99

10-
def save_to_text(content, filename):
11-
filepath = 'data/{}.txt'.format(filename)
12-
with open(filepath, 'w') as f:
13-
f.write(content)
14-
return filepath
15-
16-
1710
@app.get('/')
1811
def read_form():
1912
return 'hello world'

0 commit comments

Comments
 (0)