質問編集履歴
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
all = db.session.query(Token).filter(Token._token == _token).all()
|
14
14
|
|
15
|
-
if not
|
15
|
+
if not all:
|
16
16
|
|
17
17
|
return 'error'
|
18
18
|
|