Skip to content

Commit 16d9bf7

Browse files
committed
Fix func name (level=>severity)
1 parent 28bd0bd commit 16d9bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

winupdate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def scan(langdata):
5656
updates = get_available_update(langdata)
5757
if updates is not None:
5858
for update in updates:
59-
level = report.determine_level('WinUpdate', update)
59+
level = report.determine_severity('WinUpdate', update)
6060
resultdict[update] = (' - ', False, False, False, True, level)
6161
print('===========================================================')
6262
cprint(langdata['DETECT_UPDATE_ALERT'], 'red')

0 commit comments

Comments
 (0)