We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc08c6b commit bbe5770Copy full SHA for bbe5770
1 file changed
wsuks/wsuks.py
@@ -125,7 +125,7 @@ def run(self):
125
self.logger.info("===== Starting Web Server =====")
126
# Prepare WSUS HTTP Server
127
# If we have a TLS cert we have to switch to HTTPS and supply the DNS name
128
- if self.args.tlsCert: # noqa: SIM108
+ if self.args.tlsCert:
129
update_handler = WSUSUpdateHandler(self.executable_file, self.executable_name, f"https://{self.wsusHost}:{self.wsusPort}")
130
else:
131
update_handler = WSUSUpdateHandler(self.executable_file, self.executable_name, f"http://{self.hostIp}:{self.wsusPort}")
0 commit comments