Skip to content

Commit bbe5770

Browse files
committed
Fix ruff
1 parent fc08c6b commit bbe5770

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wsuks/wsuks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def run(self):
125125
self.logger.info("===== Starting Web Server =====")
126126
# Prepare WSUS HTTP Server
127127
# If we have a TLS cert we have to switch to HTTPS and supply the DNS name
128-
if self.args.tlsCert: # noqa: SIM108
128+
if self.args.tlsCert:
129129
update_handler = WSUSUpdateHandler(self.executable_file, self.executable_name, f"https://{self.wsusHost}:{self.wsusPort}")
130130
else:
131131
update_handler = WSUSUpdateHandler(self.executable_file, self.executable_name, f"http://{self.hostIp}:{self.wsusPort}")

0 commit comments

Comments
 (0)