Add retrieval of database metadata in download-pro-plugins.py

This commit is contained in:
Théophile Diot 2025-01-10 09:19:56 +01:00
parent 800f7a36b8
commit 27ac97828e
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -157,6 +157,8 @@ try:
if metadata["is_pro"] and metadata["pro_services"] < int(data["service_number"]):
metadata["pro_overlapped"] = True
db_metadata = db.get_metadata()
# ? If we already checked today, skip the check and if the metadata is the same, skip the check
if (
pro_license_key == db_metadata.get("pro_license", "")