1
0
mirror of synced 2024-11-27 23:50:47 +01:00

Fix import with newer versions of Python3.

This commit is contained in:
Jennifer Taylor 2022-03-18 04:32:22 +00:00
parent 8098825387
commit 01f87bd482

View File

@ -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