Fixes typo

Add missing "not", typo introduced in commit 1244eea5be (diff-7daf765f2ab0dac794d0a412b89d428c).
This commit is contained in:
Michele Preziuso 2016-01-29 09:14:08 +00:00
parent 26e5236073
commit f5917ac1e8

View file

@ -236,9 +236,9 @@ class PyWinUpdater(object):
if not self.skipSoftwareUpdates and not self.skipDriverUpdates:
search_string += 'Type=\'Software\' or Type=\'Driver\''
elif self.skipSoftwareUpdates:
elif not self.skipSoftwareUpdates:
search_string += 'Type=\'Software\''
elif self.skipDriverUpdates:
elif not self.skipDriverUpdates:
search_string += 'Type=\'Driver\''
else:
return False