Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Bugfix: Fix possible_paths not printing in code_mobject (#978)

Wieland Schöbl1d3e36a564fd
diff --git a/manim/mobject/svg/code_mobject.py b/manim/mobject/svg/code_mobject.py
index 5fd2d29ca..1e20cc099 100644
--- a/manim/mobject/svg/code_mobject.py
+++ b/manim/mobject/svg/code_mobject.py
@@ -292,7 +292,7 @@ class Code(VGroup):
return
error = (
f"From: {os.getcwd()}, could not find {self.file_name} at either "
- + "of these locations: {possible_paths}"
+ + f"of these locations: {possible_paths}"
)
raise IOError(error)