A community-maintained Python framework for creating mathematical animations.
Changed order of args in paths searched for svg files
Grant Sandersonc521a021fe76
diff --git a/mobject/svg_mobject.py b/mobject/svg_mobject.pyindex 8d0fbbc8b..8a3fa899a 100644--- a/mobject/svg_mobject.py+++ b/mobject/svg_mobject.py@@ -37,9 +37,9 @@ class SVGMobject(VMobject):if self.file_name is None:raise Exception("Must specify file for SVGMobject")possible_paths = [- self.file_name,os.path.join(SVG_IMAGE_DIR, self.file_name),os.path.join(SVG_IMAGE_DIR, self.file_name + ".svg"),+ self.file_name,]for path in possible_paths:if os.path.exists(path):