Skip to content

Commit 0e09c7c

Browse files
committed
run black
1 parent df4fee1 commit 0e09c7c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugin/server/core.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
log = logging.getLogger("webserver")
1616

17+
1718
def build_app(
1819
write_settings: Callable[[list[dict[str, str]]], None],
1920
plugin: RtfmPlugin,
@@ -79,9 +80,10 @@ async def start_runner(app: web.Application, host: str, port: int):
7980
site = web.TCPSite(runner, host, port)
8081
await site.start()
8182

82-
socket_info: tuple[str, int] = site._server.sockets[0].getsockname() # type: ignore
83+
socket_info: tuple[str, int] = site._server.sockets[0].getsockname() # type: ignore
8384
return socket_info[1]
8485

86+
8587
async def run_app(
8688
write_settings: Callable[[list[dict[str, str]]], None],
8789
plugin: RtfmPlugin,

0 commit comments

Comments
 (0)