mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
Merge 2607f7b040 into 0e83f4b09a
This commit is contained in:
commit
c3e4d69a0f
1 changed files with 6 additions and 1 deletions
|
|
@ -154,7 +154,12 @@ else:
|
|||
logger.info("No output file produced")
|
||||
return
|
||||
|
||||
local_path = Path(config["output_file"]).relative_to(Path.cwd())
|
||||
# `media_embed` (as subpath, i.e. Path.cwd()) is unable to discover files if `media_dir` is absolute
|
||||
|
||||
local_path = Path(config["output_file"])
|
||||
if not local_path.is_absolute():
|
||||
local_path = Path(config["output_file"]).relative_to(Path.cwd())
|
||||
|
||||
tmpfile = (
|
||||
Path(config["media_dir"])
|
||||
/ "jupyter"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue