mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-23 10:01:58 +03:00
fbt: Use union for old py (#2685)
This commit is contained in:
parent
d062ce73d7
commit
d9fc408d96
@ -1,7 +1,7 @@
|
||||
import os
|
||||
from dataclasses import dataclass, field
|
||||
from enum import Enum
|
||||
from typing import Callable, List, Optional, Tuple
|
||||
from typing import Callable, List, Optional, Tuple, Union
|
||||
|
||||
|
||||
class FlipperManifestException(Exception):
|
||||
@ -56,7 +56,7 @@ class FlipperApplication:
|
||||
|
||||
# .fap-specific
|
||||
sources: List[str] = field(default_factory=lambda: ["*.c*"])
|
||||
fap_version: str | Tuple[int] = "0.1"
|
||||
fap_version: Union[str, Tuple[int]] = "0.1"
|
||||
fap_icon: Optional[str] = None
|
||||
fap_libs: List[str] = field(default_factory=list)
|
||||
fap_category: str = ""
|
||||
|
Loading…
Reference in New Issue
Block a user