Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
KHY_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Graduate
2020-06-09 09:39:54 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c89f11141333710f7d3f3343da1cc5a2c8c697a3
c89f1114
1 parent
92bc1196
Modify server.py
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
0 deletions
server/models/__pycache__/inception_resnet_v1.cpython-37.pyc
server/models/__pycache__/mtcnn.cpython-37.pyc
server/models/utils/__pycache__/detect_face.cpython-37.pyc
server/server.py
server/models/__pycache__/inception_resnet_v1.cpython-37.pyc
View file @
c89f111
No preview for this file type
server/models/__pycache__/mtcnn.cpython-37.pyc
View file @
c89f111
No preview for this file type
server/models/utils/__pycache__/detect_face.cpython-37.pyc
View file @
c89f111
No preview for this file type
server/server.py
View file @
c89f111
...
...
@@ -154,6 +154,8 @@ async def thread(websocket, path):
print
(
msg
)
send
=
json
.
dumps
({
'status'
:
'success'
,
'student_id'
:
verified_id
})
else
:
msg
=
'[{ip}] verification failed: {id} is already verified'
.
format
(
ip
=
remote_ip
,
id
=
verified_id
)
print
(
msg
)
send
=
json
.
dumps
({
'status'
:
'already'
,
'student_id'
:
verified_id
})
else
:
# 인증 실패
...
...
Please
register
or
login
to post a comment