Skip to content

Commit

Permalink
setup: Fix python<3.9 list type
Browse files Browse the repository at this point in the history
  • Loading branch information
UndefinedIdentifier committed May 29, 2024
1 parent d898c1b commit 9130a51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import sys
from pathlib import Path
from typing import Iterator
from typing import List

from setuptools import setup

Expand Down Expand Up @@ -96,7 +97,7 @@ def detect_version() -> str:
return version


def fetch_built_agents() -> list[str]:
def fetch_built_agents() -> List[str]:
agents = []
if in_source_package:
agents += [f.name for f in (SOURCE_ROOT / "frida_tools").glob("*_agent.js")]
Expand Down

0 comments on commit 9130a51

Please sign in to comment.