Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Error message for finding image paths

Grant Sanderson9f3e23f991d3
diff --git a/helpers.py b/helpers.py
index 3486906e4..0a6459282 100644
--- a/helpers.py
+++ b/helpers.py
@@ -422,7 +422,7 @@ def get_full_image_path(image_file_name):
for path in possible_paths:
if os.path.exists(path):
return path
- raise IOError("File not Found")
+ raise IOError("File %s not Found"%image_file_name)
def drag_pixels(frames):
curr = frames[0]