Fix import with newer versions of Python3.
This commit is contained in:
parent
8098825387
commit
01f87bd482
@ -1,7 +1,12 @@
|
|||||||
# vim: set fileencoding=utf-8
|
# vim: set fileencoding=utf-8
|
||||||
import binascii
|
import binascii
|
||||||
import base64
|
import base64
|
||||||
from collections import Iterable
|
try:
|
||||||
|
# Python <= 3.9
|
||||||
|
from collections import Iterable
|
||||||
|
except ImportError:
|
||||||
|
# Python > 3.9
|
||||||
|
from collections.abc import Iterable
|
||||||
from typing import Any, Dict, List, Sequence, Union
|
from typing import Any, Dict, List, Sequence, Union
|
||||||
|
|
||||||
from bemani.backend.bishi.base import BishiBashiBase
|
from bemani.backend.bishi.base import BishiBashiBase
|
||||||
|
Loading…
Reference in New Issue
Block a user