mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
6b851a28f1
commit
a3c234ec3d
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ def open_file(file_path: Path, in_browser: bool = False) -> None:
|
|||
if current_os == "Windows":
|
||||
# The method os.startfile is only available in Windows,
|
||||
# ignoring type error caused by this.
|
||||
os.startfile(file_path if not in_browser else file_path.parent) #type: ignore(attr-defined)
|
||||
os.startfile(file_path if not in_browser else file_path.parent) # type: ignore(attr-defined)
|
||||
else:
|
||||
if current_os == "Linux":
|
||||
commands = ["xdg-open"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue