Skip to content

Commit a96dcee

Browse files
fix: replace description instead of append on addon update
1 parent 35ee6b4 commit a96dcee

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/services/stremio/addons.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,8 @@ async def update_catalogs(self, auth_key: str, catalogs: list[dict[str, Any]]) -
7575
):
7676
addon["manifest"]["catalogs"] = catalogs
7777
# also update description with updated time
78-
# get description from existing addon manifest
79-
description = addon.get("manifest", {}).get("description", "")
8078
addon["manifest"]["description"] = (
81-
f"{description}\nLast updated on:"
79+
"Movie and series recommendations based on your Stremio library.\nLast Updated on: "
8280
f" {datetime.now(timezone.utc).strftime('%d %B %Y, %H:%M:%S')} UTC"
8381
)
8482
found = True

0 commit comments

Comments
 (0)