Naming fix after rebrand

default instead of kometa
This commit is contained in:
jz1 2024-04-23 11:19:06 +02:00 committed by GitHub
parent 87f2621239
commit c9a0fd5187
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -180,9 +180,9 @@ class Overlay:
return image_path
if not self.name.startswith(("blur", "backdrop")):
if ("kometa" in self.data and self.data["kometa"]) or ("pmm" in self.data and self.data["pmm"]) or ("git" in self.data and self.data["git"] and self.data["git"].startswith("PMM/")):
if "kometa" in self.data and self.data["kometa"]:
temp_path = self.data["kometa"]
if ("default" in self.data and self.data["default"]) or ("pmm" in self.data and self.data["pmm"]) or ("git" in self.data and self.data["git"] and self.data["git"].startswith("PMM/")):
if "default" in self.data and self.data["default"]:
temp_path = self.data["default"]
elif "pmm" in self.data and self.data["pmm"]:
temp_path = self.data["pmm"]
else: