Let the formatter run at that

This commit is contained in:
decentral1se 2021-05-02 21:42:55 +02:00
parent 65e83ed885
commit 845de093ba
Signed by untrusted user who does not match committer: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 3 additions and 8 deletions

View File

@ -179,14 +179,9 @@ def get_app_metadata(app_path):
"source": match.split(",")[-1].replace("*", "").strip(), "source": match.split(",")[-1].replace("*", "").strip(),
} }
elif title == "status": elif title == "status":
value = { value = {"❶💚": 1, "❷💛": 2, "❸🍎": 3, "❹💣": 4, "?": 5, "": 5}[
"❶💚": 1, match.split(":")[-1].replace("*", "").strip()
"❷💛": 2, ]
"❸🍎": 3,
"❹💣": 4,
"?": 5,
"": 5
}[match.split(":")[-1].replace("*", "").strip()]
else: else:
value = match.split(":")[-1].replace("*", "").strip() value = match.split(":")[-1].replace("*", "").strip()