[go: nahoru, domu]

Skip to content

Commit

Permalink
[MISC] Fix build in py39
Browse files Browse the repository at this point in the history
  • Loading branch information
nikoskoukis-slamcore committed May 1, 2024
1 parent 1d432fe commit 7c4989b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sphinx_autobuild/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ def __init__(
ignore_filter: IgnoreFilter,
change_callback: Callable[[], None],
) -> None:
self.paths = [os.path.realpath(path, strict=True) for path in paths]
self.paths = [os.path.realpath(path) for path in paths]

# Santiy check the paths
for p in self.paths:
if not os.path.exists(p):
raise FileNotFoundError(p)

self.ignore = ignore_filter
self.change_callback = change_callback
self.flag = asyncio.Event()
Expand Down

0 comments on commit 7c4989b

Please sign in to comment.