Skip to content

Commit 24b4461

Browse files
committed
Convert UUID4 into string upon generation
1 parent bdf7256 commit 24b4461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/murfey/client/websocket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class WSApp:
2323
def __init__(
2424
self, *, server: str, id: int | str | None = None, register_client: bool = True
2525
):
26-
self.id = uuid.uuid4() if id is None else id
26+
self.id = str(uuid.uuid4()) if id is None else id
2727
log.info(f"Opening websocket connection for Client {self.id}")
2828
websocket.enableTrace(True)
2929

0 commit comments

Comments
 (0)