Skip to content

Commit 16a2f58

Browse files
committed
🐛 for Python 3.7
1 parent 0171a5b commit 16a2f58

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/badapple/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
y = int(y)
101101
need_clear = not a.not_clear
102102

103-
p_list: list[Process] = list()
103+
p_list = list()
104104

105105
video = ba_get(a.input)
106106
audio = ba_get(a.audio)

src/badapple/audio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def get_player(
2222
audio: str,
2323
player: str,
2424
video: str = None,
25-
) -> Player | None:
25+
) -> Player:
2626
if not audio:
2727
if not player:
2828
return None

src/badapple/play.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def get_buffer(
3939

4040

4141
def play(
42-
p_list: list[Process],
42+
p_list: list,
4343
video: str, output: str,
4444
font: str, audio: str, player: str,
4545
x: int, y: int, fps: int,

src/badapple/replay.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
def replay(
9-
p_list: list[Process],
9+
p_list: list,
1010
video: str, audio: str, player: str,
1111
need_clear: bool = True, debug: bool = False
1212
) -> None:

0 commit comments

Comments
 (0)