From edc67fed7eb6e86d087486dd8731172bb5236917 Mon Sep 17 00:00:00 2001 From: evilchili Date: Fri, 22 Dec 2023 21:52:41 -0800 Subject: [PATCH] fixing infinite recursion --- rolltable/tables.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rolltable/tables.py b/rolltable/tables.py index 3ffa5c4..16b74de 100644 --- a/rolltable/tables.py +++ b/rolltable/tables.py @@ -96,8 +96,7 @@ class DataSource: headers = self.headers for i in range(0, len(self.headers) - len(entries[0])): headers.append(f"{i:3f}") - items = {(k, v) for k, v in zip(self.headers, self.get_entries(name))} - print(items) + items = {(k, v) for k, v in zip(self.headers, entries) data[name] = dict(items) return data