Fix win_wua state

This commit is contained in:
twangboy 2020-04-24 16:54:32 -06:00 committed by Daniel Wozniak
parent bdf7316ca3
commit b923118b1b

View file

@ -183,7 +183,7 @@ def installed(name, updates=None):
wua.install(install)
# Refresh windows update info
wua.load_search()
wua.refresh()
post_info = wua.updates().list()
# Verify the installation
@ -307,7 +307,7 @@ def removed(name, updates=None):
wua.uninstall(uninstall)
# Refresh windows update info
wua.load_search()
wua.refresh()
post_info = wua.updates().list()
# Verify the installation
@ -482,7 +482,7 @@ def uptodate(
wua.install(install)
# Refresh windows update info
wua.load_search()
wua.refresh()
post_info = wua.updates().list()