Skip to content

Commit

Permalink
Fix indentation in server.py (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
pydsigner committed Dec 19, 2023
1 parent 433426f commit 876d00a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/anchovy/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ class ThreadedHTTPServer(http.server.ThreadingHTTPServer):
"""
RequestHandlerClass: typing.Type[http.server.SimpleHTTPRequestHandler]
def __init__(self,
server_address: _AfInetAddress,
RequestHandlerClass: typing.Type[http.server.SimpleHTTPRequestHandler],
directory: str | pathlib.Path = '.',
bind_and_activate: bool = True) -> None:
server_address: _AfInetAddress,
RequestHandlerClass: typing.Type[http.server.SimpleHTTPRequestHandler],
directory: str | pathlib.Path = '.',
bind_and_activate: bool = True) -> None:
super().__init__(server_address, RequestHandlerClass, bind_and_activate)
self.directory = str(directory)

Expand Down

0 comments on commit 876d00a

Please sign in to comment.