mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
have get_sorted_integer_files return list
This commit is contained in:
parent
5ea1a37d4c
commit
7902724567
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue