mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-10 09:19:42 +01:00
chore: clean-up
This commit is contained in:
parent
72965c8d85
commit
59bc9804ad
1 changed files with 3 additions and 5 deletions
|
@ -293,12 +293,10 @@ class InstallableExtension(BaseModel):
|
|||
|
||||
@classmethod
|
||||
async def get_installable_extensions(
|
||||
cls, installed_extensions: List["InstallableExtension"] = []
|
||||
cls,
|
||||
) -> List["InstallableExtension"]:
|
||||
extension_list: List[InstallableExtension] = (
|
||||
installed_extensions if installed_extensions else []
|
||||
)
|
||||
extension_id_list: List[str] = [e.id for e in extension_list]
|
||||
extension_list: List[InstallableExtension] = []
|
||||
extension_id_list: List[str] = []
|
||||
|
||||
for url in settings.lnbits_extensions_manifests:
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue