From 713d642e1b2be44e6ddbf3500db74bc7904dad51 Mon Sep 17 00:00:00 2001 From: Alexei Bezborodov Date: Fri, 28 Oct 2022 16:23:37 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=BC=D0=B5=D0=BD=D0=B0=20=D1=81=D1=82?= =?UTF-8?q?=D0=BE=D0=BB=D0=BE=D0=B2=20#4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- table_distributor.html | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/table_distributor.html b/table_distributor.html index 06ef9bc..092fdce 100755 --- a/table_distributor.html +++ b/table_distributor.html @@ -48,6 +48,10 @@

+

+ + +

@@ -160,8 +164,8 @@ def get_result(): return result def print_result_table(): - table_names = "АБВГДЕЖЗИКЛМНОПРСТУФ" - + table_names = document["table_name"].value + global tables html = "" html += "" @@ -173,7 +177,11 @@ def print_result_table(): # Остальные строки for t in tables: html += "" - html += "" + if t.id >= len(table_names): + html += "" + else: + html += "" + if len(t.person_set): html += "" else:
" + str(table_names[t.id]) + "" + str(t.id) + "" + str(table_names[t.id]) + "" + str(t.person_set).replace("{","").replace("}","") + "