mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
merge two lines into one
This commit is contained in:
parent
bab249a54a
commit
46b534cfcc
1 changed files with 1 additions and 2 deletions
|
|
@ -217,8 +217,7 @@ def _filter_supported_exts(
|
||||||
filtered_exs: set[str] = set()
|
filtered_exs: set[str] = set()
|
||||||
for ext in extensions:
|
for ext in extensions:
|
||||||
if not _Cache.already_checked(ext):
|
if not _Cache.already_checked(ext):
|
||||||
r = test_func(ext)
|
_Cache.set_ext_support(ext, test_func(ext))
|
||||||
_Cache.set_ext_support(ext, r)
|
|
||||||
if _Cache.is_supported(ext):
|
if _Cache.is_supported(ext):
|
||||||
filtered_exs.add(ext)
|
filtered_exs.add(ext)
|
||||||
return filtered_exs
|
return filtered_exs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue