mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
cleanup
This commit is contained in:
parent
1ae2098a6e
commit
616eb6818f
10 changed files with 24 additions and 18 deletions
|
|
@ -78,7 +78,9 @@ def batch_import(operator="",
|
|||
path = os.path.abspath(path)
|
||||
|
||||
match_upper = match.upper()
|
||||
pattern_match = lambda a: fnmatch.fnmatchcase(a.upper(), match_upper)
|
||||
|
||||
def pattern_match(a):
|
||||
return fnmatch.fnmatchcase(a.upper(), match_upper)
|
||||
|
||||
def file_generator(path):
|
||||
for dirpath, dirnames, filenames in os.walk(path):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue