diff --git a/call.cgi b/call.cgi index 94ec64f..ec34d8d 100755 --- a/call.cgi +++ b/call.cgi @@ -184,7 +184,7 @@ else: prefix = room table_prefix = room - extract = [[host, str(student_no),logon[:5],logoff[-5:], name, reading, dep, "OK", pos] + extract = [[host, str(student_no),logon[:5],logoff[-5:], name, reading, dep, "", pos] for host, logon, logoff, _, _, student_no, name, reading, dep, pos, status in lines if host != None and host.startswith(prefix)] @@ -195,7 +195,7 @@ # setup width of each columns ws.append(["学生", "","","", fr.strftime("%Y/%m/%d"), fr.strftime("%H:%M")+"〜"+ to.strftime("%H:%M")]) - ws.append(["ホスト名", "学籍番号", "開始", "終了", "名前", "よみ", "所属", "ステータス"]) + ws.append(["ホスト名", "学籍番号", "開始", "終了", "名前", "よみ", "所属", "備考"]) stafflist=[] prev = None row = None @@ -272,7 +272,7 @@ showLastColumn=False, showRowStripes=True, showColumnStripes=False) tab.tableStyleInfo = style ws.add_table(tab) - ws.column_dimension['H'].hidden = True + ws.column_dimensions['H'].hidden = True else: wb.remove(wb[room+"座席表"])