From 24c07aae4cbc5c5b84ed0165236a12bbfc9587ab Mon Sep 17 00:00:00 2001 From: hyugogirubato <65763543+hyugogirubato@users.noreply.github.com> Date: Mon, 1 Apr 2024 15:55:46 +0200 Subject: [PATCH] Fix set update --- extractor/cdm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extractor/cdm.py b/extractor/cdm.py index 2d0a2a6..895bd92 100644 --- a/extractor/cdm.py +++ b/extractor/cdm.py @@ -105,7 +105,7 @@ class Cdm: content = SCRIPT_PATH.read_text(encoding='utf-8') # Replace placeholders with actual values content = content.replace('${SDK_API}', str(self.sdk_api)) - content = content.replace('${OEM_CRYPTO_API}', json.dumps(self.OEM_CRYPTO_API)) + content = content.replace('${OEM_CRYPTO_API}', json.dumps(list(self.OEM_CRYPTO_API))) content = content.replace('${SYMBOLS}', json.dumps(list(selected.values()))) return content