diff --git a/visidata/guide.py b/visidata/guide.py index 6b9dd72aa..8e626460f 100644 --- a/visidata/guide.py +++ b/visidata/guide.py @@ -9,6 +9,7 @@ from visidata import vd, BaseSheet, Sheet, ItemColumn, Column, VisiData, ENTER, RowColorizer, AttrDict, MissingAttrFormatter from visidata import wraptext, Path, CellColorizer +import visidata guides_list = ''' GuideIndex ("A Guide to VisiData Guides (you are here)") @@ -81,7 +82,7 @@ @VisiData.api def addGuide(vd, name): - guideSource = Path(vd.pkg_resources_files('visidata')/f'guides/{name}.md') + guideSource = Path(vd.pkg_resources_files(visidata)/f'guides/{name}.md') if guideSource.exists(): vd.guides[name] = GuideSheet(name, source=guideSource)