From bc98aa2fa20e1656b337254f907d3888b939f822 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 28 Jun 2023 22:30:33 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Espaceapi.py=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spaceapi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spaceapi.py b/spaceapi.py index e9bba18..c1fc6b1 100755 --- a/spaceapi.py +++ b/spaceapi.py @@ -6,6 +6,7 @@ import requests import os import sys +from typing import List path: str = sys.argv[1] api: str = "https://api.dezentrale.cloud/spaceapi/v14" @@ -14,7 +15,7 @@ space_closed: str = path + "/assets/logo_closed" space_unknown: str = path + "/assets/logo_unknown" space_logo: str = path + "/assets/logo" -extensions: list[str] = [".png", ".svg"] +extensions: List[str] = [".png", ".svg"] # every extension needs to be linked def link(src: str, dest: str):