diff options
author | Maxim Devaev <[email protected]> | 2023-03-07 23:54:05 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-03-07 23:54:05 +0200 |
commit | f652eca9c213dd783cf2ffd02109b2353ccb86c1 (patch) | |
tree | 3c2a5c68e0b03536ec5c482b9b5be708795e8292 /kvmd/plugins/auth | |
parent | 002031baf15d328dad764a620e1c83c01e7a55a6 (diff) |
refactoring
Diffstat (limited to 'kvmd/plugins/auth')
-rw-r--r-- | kvmd/plugins/auth/radius.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/auth/radius.py b/kvmd/plugins/auth/radius.py index d7c6390e..94d27883 100644 --- a/kvmd/plugins/auth/radius.py +++ b/kvmd/plugins/auth/radius.py @@ -426,8 +426,8 @@ class Plugin(BaseAuthService): assert user == user.strip() assert user try: - with io.StringIO(_FREERADUIS_DICT) as dct_file: - dct = pyrad.dictionary.Dictionary(dct_file) + with io.StringIO(_FREERADUIS_DICT) as file: + dct = pyrad.dictionary.Dictionary(file) client = pyrad.client.Client( server=self.__host, authport=self.__port, |