diff options
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, |