Skip to content

Commit 28787d7

Browse files
committed
Fix parameter name of disable_notus_hashsum_verification for Notus.__init__
Rename from disable_hashsum_verification which was not possible to pass through the argument parser.
1 parent 5712994 commit 28787d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ospd_openvas/notus.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ def __init__(
114114
self,
115115
path: Path,
116116
cache: Cache,
117-
disable_hashsum_verification: bool = False,
117+
disable_notus_hashsum_verification: bool = False,
118118
):
119119
self.path = path
120120
self.cache = cache
121121
self._verifier = None
122-
self.disable_hashsum_verification = disable_hashsum_verification
122+
self.disable_hashsum_verification = disable_notus_hashsum_verification
123123

124124
def reload_cache(self):
125125
if self.loading:

0 commit comments

Comments
 (0)