Skip to content

Commit

Permalink
fix: TypeError: 'ABCMeta' object is not subscriptable (#209)
Browse files Browse the repository at this point in the history
collections.abc.Callable cannot be used for type hints when python<3.9
  • Loading branch information
Nattsu39 authored Sep 30, 2023
1 parent 5d98090 commit 657a0f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions UnityPy/tools/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
GameObject,
)
from UnityPy.enums.ClassIDType import ClassIDType
from typing import Union, List, Dict
from typing import Union, List, Dict, Callable
from pathlib import Path
from collections.abc import Callable


def export_obj(
Expand Down

0 comments on commit 657a0f6

Please sign in to comment.