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("}","") + "