Skip to content

Commit 3d43be3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6367a18 commit 3d43be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

babi/prompt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def _tab(self) -> None:
110110

111111
def _complete_file(self) -> None:
112112
# only allow completion at the end of the prompt or before a separator
113-
if self._x != len(self._s) and self._s[self._x] not in ("/", " "):
113+
if self._x != len(self._s) and self._s[self._x] not in ('/', ' '):
114114
return
115115
partial = self._s[:self._x]
116116
completions = glob.glob(f'{partial}*')

0 commit comments

Comments
 (0)