Skip to content

Commit a702d09

Browse files
committed
improve
1 parent 46ad751 commit a702d09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/sphinxext/gen_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def generate_cli_rst(app=None):
6262

6363
cli_path = Path(__file__).resolve().parent.parent.parent / "mne_bids" / "commands"
6464
fnames = sorted(
65-
[Path(fname).name for fname in glob.glob(str(cli_path / "mne_bids*.py"))]
65+
[fname.name for fname in cli_path.glob("mne_bids*.py")]
6666
)
6767
iterator = sphinx.util.display.status_iterator(
6868
fnames, "generating MNE-BIDS cli help ... ", length=len(fnames)

0 commit comments

Comments
 (0)