Skip to content

Commit 657a0f6

Browse files
authored
fix: TypeError: 'ABCMeta' object is not subscriptable (#209)
collections.abc.Callable cannot be used for type hints when python<3.9
1 parent 5d98090 commit 657a0f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

UnityPy/tools/extractor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
GameObject,
1717
)
1818
from UnityPy.enums.ClassIDType import ClassIDType
19-
from typing import Union, List, Dict
19+
from typing import Union, List, Dict, Callable
2020
from pathlib import Path
21-
from collections.abc import Callable
2221

2322

2423
def export_obj(

0 commit comments

Comments
 (0)