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-23 16:16:10 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5c4e27c4fd3b6c86c8ace8d2c47d5945ab3bbe2f
5c4e27c4
1 parent
982a9def
Change distance threshold
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server/server.py
server/server.py
View file @
5c4e27c
...
...
@@ -137,7 +137,7 @@ async def thread(websocket, path):
# 출석 데이터 전송
send
=
''
if
distance_min
<
0.6
5
:
if
distance_min
<
0.6
2
:
# 인증 성공
# 오늘 이미 출석 됐는지 확인
sql
=
"SELECT DATE(timestamp) FROM student_attendance WHERE (lecture_id=
%
s) AND (student_id=
%
s) AND (DATE(timestamp) = CURDATE());"
...
...
Please
register
or
login
to post a comment