Skip to content

Commit 1fb6f5f

Browse files
committed
Quote type annotation to avoid crash without anyio
1 parent a943815 commit 1fb6f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

factorio_rcon/_factorio_rcon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ class AsyncRCONClient(RCONSharedBase):
430430
large or the server slow.
431431
"""
432432

433-
rcon_socket: Optional[anyio.abc.SocketStream]
433+
rcon_socket: Optional["anyio.abc.SocketStream"]
434434

435435
def __init__(self, ip_address: str, port: int, password: str) -> None:
436436
if not ASYNC_AVAILABLE:

0 commit comments

Comments
 (0)