Skip to content

Commit 8f89152

Browse files
authored
Update file_ops.py
1 parent 3d1a999 commit 8f89152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manim/utils/file_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def open_file(file_path: Path, in_browser: bool = False) -> None:
198198
if current_os == "Windows":
199199
# The method os.startfile is only available in Windows,
200200
# ignoring type error caused by this.
201-
os.startfile(file_path if not in_browser else file_path.parent)
201+
os.startfile(file_path if not in_browser else file_path.parent) # type: ignore[attr-defined]
202202
else:
203203
if current_os == "Linux":
204204
commands = ["xdg-open"]

0 commit comments

Comments
 (0)