From 7ceebc8d835352fb8785ef3fd8d9733b1dabbdbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BA=91=E5=B8=86?= <10195501416@stu.ecnu.edu.cn> Date: Mon, 13 Dec 2021 13:23:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=B4=9F=E8=BD=BD=E7=94=9F?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/bench/workload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/bench/workload.py b/fe/bench/workload.py index ff89430..57c3648 100644 --- a/fe/bench/workload.py +++ b/fe/bench/workload.py @@ -92,7 +92,7 @@ class Workload: for bk in books: code = seller.add_book(store_id, self.stock_level, bk) assert code == 200 - self.book_ids[store_ids].append(bk.id) + self.book_ids[store_id].append(bk.id) row_no = row_no + len(books) logging.info("seller data loaded.") for k in range(1, self.buyer_num + 1):