From 4347fd921392c16de4866fc9d926830c1ebe564d Mon Sep 17 00:00:00 2001 From: Alexei Bezborodov Date: Wed, 19 Oct 2022 11:02:06 +0300 Subject: [PATCH] set to list --- table_distributor.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table_distributor.html b/table_distributor.html index 0e6b061..5f69215 100644 --- a/table_distributor.html +++ b/table_distributor.html @@ -264,7 +264,7 @@ def fill_tables(): new_person_id = 0 while True: - new_person_id = random.sample(beig_id_set, 1)[0] + new_person_id = random.sample(list(beig_id_set), 1)[0] if new_person_id not in persons_set: break