Skip to content

Commit 1824d21

Browse files
author
Karl Fleischmann
committed
CI Build error - Fix format issue (sigh!)
1 parent 606116f commit 1824d21

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

adafruit_httpserver.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def serve_forever(self, host: str, port: int = 80, root: str = "") -> None:
303303
:param int port: port
304304
:param str root: root directory to serve files from
305305
"""
306-
self.start(host,port,root)
306+
self.start(host, port, root)
307307

308308
while True:
309309
try:
@@ -322,7 +322,9 @@ def start(self, host: str, port: int = 80, root: str = "") -> None:
322322
"""
323323
self.root_path = root
324324

325-
self._sock = self._socket_source.socket(self._socket_source.AF_INET, self._socket_source.SOCK_STREAM)
325+
self._sock = self._socket_source.socket(
326+
self._socket_source.AF_INET, self._socket_source.SOCK_STREAM
327+
)
326328
self._sock.bind((host, port))
327329
self._sock.listen(10)
328330

0 commit comments

Comments
 (0)