Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
vindolin committed Nov 29, 2023
1 parent 2516cb3 commit b35ae01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/selecta/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def __init__(self, infile: TextIOWrapper, reverse_order: bool,
if not test_mode:
self.loop.run()

def parse_dir(self, line: str) -> Optional(str):
def parse_dir(self, line: str) -> Optional[str]:
"""Parse a line from the directory history."""
match = re.search(r'(?P<path>[^\s=-]*/)(/?)', line)
if match and hasattr(match, 'group'):
Expand Down

0 comments on commit b35ae01

Please sign in to comment.