diff --git a/secrules/get_security.py b/secrules/get_security.py index 26d029029aff6749b8ab567cc6062ecf137ff3e3_c2VjcnVsZXMvZ2V0X3NlY3VyaXR5LnB5..fe61049b37e490e54745da08c28c98468868f164_c2VjcnVsZXMvZ2V0X3NlY3VyaXR5LnB5 100644 --- a/secrules/get_security.py +++ b/secrules/get_security.py @@ -24,7 +24,7 @@ low_word = int(own - (high_word * 65536)) ownstr = b'[%o,%o]' % (high_word, low_word) prot = lib.format_sogw_prot( - res[ossdef.OSS__PROTECTION], access_names=accnam + res[ossdef.OSS__PROTECTION], access_names=accnam # type: ignore )[ 1 ] # type: ignore diff --git a/secrules/rules12.py b/secrules/rules12.py index 26d029029aff6749b8ab567cc6062ecf137ff3e3_c2VjcnVsZXMvcnVsZXMxMi5weQ==..fe61049b37e490e54745da08c28c98468868f164_c2VjcnVsZXMvcnVsZXMxMi5weQ== 100644 --- a/secrules/rules12.py +++ b/secrules/rules12.py @@ -2,7 +2,6 @@ __version__ = '1.0' from .common import level_rule -from ovms import starlet from ovms.rtl import lib from ovms import queues, quidef