Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Initial commit (#1608)

KingWampyfe254fc241e0
diff --git a/manim/scene/scene_file_writer.py b/manim/scene/scene_file_writer.py
index 04d59924b..e395ae5bf 100644
--- a/manim/scene/scene_file_writer.py
+++ b/manim/scene/scene_file_writer.py
@@ -408,7 +408,7 @@ class SceneFileWriter(object):
logger.info(
f"Animation {self.renderer.num_plays} : Partial movie file written in %(path)s",
- {"path": {self.partial_movie_file_path}},
+ {"path": f"'{self.partial_movie_file_path}'"},
)
def is_already_cached(self, hash_invocation):
@@ -590,4 +590,4 @@ class SceneFileWriter(object):
def print_file_ready_message(self, file_path):
"""Prints the "File Ready" message to STDOUT."""
config["output_file"] = file_path
- logger.info("\nFile ready at %(file_path)s\n", {"file_path": file_path})
+ logger.info("\nFile ready at %(file_path)s\n", {"file_path": f"'{file_path}'"})
diff --git a/manim/utils/file_ops.py b/manim/utils/file_ops.py
index bf16b4023..1f1cf0358 100644
--- a/manim/utils/file_ops.py
+++ b/manim/utils/file_ops.py
@@ -156,7 +156,7 @@ def open_media_file(file_writer):
if config["preview"]:
open_file(file_path, False)
- logger.info(f"Previewed File at: {file_path}")
+ logger.info(f"Previewed File at: '{file_path}'")
def get_template_names():