Skip to content

Commit 41321a1

Browse files
committed
修复错误
1 parent 5c8cfcb commit 41321a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

demo/site/index.html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ def handler(self):
88
<li><a href="upload.html">文件上传</a></li>
99
<li><a href="form.html">表单数据</a></li>
1010
</ul>
11-
'''
11+
'''

demo/site/upload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
def handler(self):
22
files = self.files
3-
print files
4-
return 'ok'
3+
for fobj in files.values():
4+
yield fobj.read()

0 commit comments

Comments
 (0)