質問編集履歴
1
誤植を直しました。
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
理解不能のunexpected inde
|
1
|
+
理解不能のunexpected indent
|
test
CHANGED
@@ -46,9 +46,11 @@
|
|
46
46
|
|
47
47
|
print(req.form, req.remote_addr, req.user_agent, res, file=log, sep='|')
|
48
48
|
|
49
|
+
|
50
|
+
|
49
51
|
@app.route('/search4', methods=['POST'])
|
50
52
|
|
51
|
-
def do_search() ->
|
53
|
+
def do_search() -> 'html':
|
52
54
|
|
53
55
|
phrase = request.form['phrase']
|
54
56
|
|
@@ -74,7 +76,7 @@
|
|
74
76
|
|
75
77
|
@app.route('/entry')
|
76
78
|
|
77
|
-
def entry_page() ->
|
79
|
+
def entry_page() -> 'html':
|
78
80
|
|
79
81
|
return render_template('entry.html',
|
80
82
|
|
@@ -84,7 +86,7 @@
|
|
84
86
|
|
85
87
|
@app.route('/viewlog')
|
86
88
|
|
87
|
-
def view_the_log() ->
|
89
|
+
def view_the_log() -> 'html':
|
88
90
|
|
89
91
|
contents = []
|
90
92
|
|
@@ -114,6 +116,8 @@
|
|
114
116
|
|
115
117
|
|
116
118
|
|
119
|
+
|
120
|
+
|
117
121
|
```
|
118
122
|
|
119
123
|
|
@@ -122,11 +126,11 @@
|
|
122
126
|
|
123
127
|
|
124
128
|
|
125
|
-
インデ
|
129
|
+
インデントが原因だと思い、
|
126
130
|
|
127
131
|
当該部分を書き直し、
|
128
132
|
|
129
|
-
不要な
|
133
|
+
不要な改行がないように
|
130
134
|
|
131
135
|
気を付けましたが、
|
132
136
|
|