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(),
}
elif title == "status":
value = {
"❶💚": 1,
"❷💛": 2,
"❸🍎": 3,
"❹💣": 4,
"?": 5,
"": 5
}[match.split(":")[-1].replace("*", "").strip()]
value = {"❶💚": 1, "❷💛": 2, "❸🍎": 3, "❹💣": 4, "?": 5, "": 5}[
match.split(":")[-1].replace("*", "").strip()
]
else:
value = match.split(":")[-1].replace("*", "").strip()