diff --git a/src/textual/widgets/_directory_tree.py b/src/textual/widgets/_directory_tree.py index 0c8f390e1..9ba82d6df 100644 --- a/src/textual/widgets/_directory_tree.py +++ b/src/textual/widgets/_directory_tree.py @@ -303,7 +303,7 @@ class DirectoryTree(Tree[DirEntry]): # asked to stop. worker = get_current_worker() - # Load up the content of the directly. + # Load up the content of the directory. content = self.filter_paths(self._directory_content(node.data.path)) if worker.is_cancelled: return