Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

have get_sorted_integer_files return list

Grant Sanderson7902724567e6
diff --git a/manimlib/utils/output_directory_getters.py b/manimlib/utils/output_directory_getters.py
index fbf6aefad..3e364271a 100644
--- a/manimlib/utils/output_directory_getters.py
+++ b/manimlib/utils/output_directory_getters.py
@@ -78,4 +78,4 @@ def get_sorted_integer_files(directory,
elif remove_non_integer_files:
os.remove(full_path)
indexed_files.sort(key=lambda p: p[0])
- return map(lambda p: p[1], indexed_files)
+ return list(map(lambda p: p[1], indexed_files))