diff --git a/call.cgi b/call.cgi index 3d796b9..e579543 100755 --- a/call.cgi +++ b/call.cgi @@ -115,7 +115,7 @@ wb.remove(wb[room+u"出席表"]) if room in form: ws = wb.create_sheet(title = room+u"出席表") - extract = [[host, str(student_no),logon[-5:],logoff[-5:], name, reading, dep] + extract = [[host, str(student_no),logon[:5],logoff[-5:], name, reading, dep] for host, logon, logoff, _, _, student_no, name, reading, dep in lines if host.startswith(room)]