From 60f71813408acc113d4947c2f746390cc2aecad5 Mon Sep 17 00:00:00 2001 From: Lucian N Date: Mon, 20 Nov 2023 10:32:17 +0200 Subject: [PATCH] Update model.py fix for #830 --- sign_client/sign_client/model.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sign_client/sign_client/model.py b/sign_client/sign_client/model.py index f2022a63..4e895623 100644 --- a/sign_client/sign_client/model.py +++ b/sign_client/sign_client/model.py @@ -195,10 +195,7 @@ class UserGroupInfo: def from_dict(cls, dct): new_dct = {} for k, v in dct.items(): - if k == 'settings': - new_dct[k] = SettingsInfo.from_dict(v) - else: - new_dct[k] = v + new_dct[k] = v return cls(**new_dct)