Skip to content

Commit 760f603

Browse files
committed
Update __init__.py
1 parent e097d0a commit 760f603

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vcpkg_sbom/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import typing
1111

1212
import rich
13+
import rich.progress
1314
import spdx_tools.spdx.document_utils
1415
import spdx_tools.spdx.model as spdx
1516
import spdx_tools.spdx.parser.parse_anything
@@ -21,7 +22,7 @@
2122

2223

2324
# NOTE: from https://github.com/Textualize/rich/discussions/482
24-
class TableProgress(rich.Progress):
25+
class TableProgress(rich.progress.Progress):
2526
def __init__(self, table_max_rows: int, name: str, *args, **kwargs) -> None:
2627
self.results = collections.deque(maxlen=table_max_rows)
2728
self.name = name

0 commit comments

Comments
 (0)