From cd1ca5ff227607a6e60eef3bcf68754952f9ff98 Mon Sep 17 00:00:00 2001 From: Max Hoffman Date: Wed, 13 Dec 2023 10:03:38 -0800 Subject: [PATCH] fix ls offset --- doltcli/dolt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doltcli/dolt.py b/doltcli/dolt.py index 080b204..150874d 100644 --- a/doltcli/dolt.py +++ b/doltcli/dolt.py @@ -1345,7 +1345,7 @@ def ls(self, system: bool = False, all: bool = False, **kwargs) -> List[TableT]: if not line: pass split = line.lstrip().split() - tables.append(Table(name=split[0], row_cnt=int(split[len(split)-1]))) + tables.append(Table(name=split[0], row_cnt=int(split[len(split)-2]))) if system_pos: for line in output[system_pos:]: