Skip to content
This repository was archived by the owner on Jun 15, 2024. It is now read-only.

Commit 1dbb6fc

Browse files
authored
Fix cell key bug (#79)
* Changed values in parse.py to use correct cell key
1 parent b05bc7d commit 1dbb6fc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/python/parse.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,15 @@ def parse(self):
4343
cell_info = self._get_cell_info(index, row, column)
4444

4545
# Check if column should be skipped
46-
if self._skip_column(column[1], cell_info["value"], cell_info["type"]):
46+
if self._skip_column(
47+
cell_info["key"], cell_info["value"], cell_info["type"]
48+
):
4749
continue
4850

4951
# Convert list values (with ";" separator) to Python lists
5052
# Manually skip fields commonly containing semicolons
5153
if (
52-
cell_info["value"] not in ("notes", "description")
54+
cell_info["key"] not in ("notes", "description")
5355
and isinstance(cell_info["value"], str)
5456
and ";" in cell_info["value"]
5557
):

src/web/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,4 +398,4 @@ <h2 class="text-center text-success" style="font-size: 5rem">
398398
</main>
399399

400400
</body>
401-
</html>
401+
</html>

0 commit comments

Comments
 (0)