mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-05 15:03:33 +08:00
lint fix
This commit is contained in:
parent
50b6e22195
commit
4b0bccef24
@ -4,11 +4,12 @@
|
|||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import _ba
|
|
||||||
import copy
|
import copy
|
||||||
import logging
|
import logging
|
||||||
from typing import Any, TYPE_CHECKING
|
from typing import Any, TYPE_CHECKING
|
||||||
|
|
||||||
|
import _ba
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from typing import Sequence
|
from typing import Sequence
|
||||||
from ba import _session
|
from ba import _session
|
||||||
@ -128,8 +129,7 @@ def filter_playlist(playlist: PlaylistType,
|
|||||||
|
|
||||||
if entry['settings']['map'] not in available_maps:
|
if entry['settings']['map'] not in available_maps:
|
||||||
raise ImportError(
|
raise ImportError(
|
||||||
f"Map not found: '{entry['settings']['map']}'"
|
f"Map not found: '{entry['settings']['map']}'")
|
||||||
)
|
|
||||||
|
|
||||||
if remove_unowned and gameclass in unowned_game_types:
|
if remove_unowned and gameclass in unowned_game_types:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user