From 74b37e1cf6b0af3a7c8163730fef5e10b0efc25b Mon Sep 17 00:00:00 2001 From: hyugogirubato <65763543+hyugogirubato@users.noreply.github.com> Date: Mon, 22 Jul 2024 20:30:32 +0200 Subject: [PATCH] Removing an unnecessary cast --- keydive/cdm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keydive/cdm.py b/keydive/cdm.py index f0cdbe2..9b6ee67 100644 --- a/keydive/cdm.py +++ b/keydive/cdm.py @@ -168,7 +168,7 @@ class Cdm: Returns: bool: True if any keys were exported, otherwise False. """ - keys = set(self.client_id.keys()) & set(self.private_key.keys()) + keys = self.client_id.keys() & self.private_key.keys() for k in keys: client_info = self.__client_info(self.client_id[k]) # https://github.com/devine-dl/pywidevine/blob/master/pywidevine/main.py#L211