From 08db537fd9df5ce5cd9346a7c6f3acc34cf8aa58 Mon Sep 17 00:00:00 2001 From: sandeepsuryaprasad Date: Thu, 5 Dec 2024 14:11:22 +0530 Subject: [PATCH] added descriptor object to Account class --- py/selenium/webdriver/common/fedcm/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/selenium/webdriver/common/fedcm/account.py b/py/selenium/webdriver/common/fedcm/account.py index 9cb43ea72fd33..7258ea677426b 100644 --- a/py/selenium/webdriver/common/fedcm/account.py +++ b/py/selenium/webdriver/common/fedcm/account.py @@ -32,7 +32,7 @@ def __get__(self, obj, cls) -> Optional[str]: return obj._account_data.get(self.name) def __set__(self, obj, value) -> None: - raise AttributeError(f"Cannot set readonly attribute") + raise AttributeError("Cannot set readonly attribute") class Account: