Skip to content
This repository was archived by the owner on Dec 20, 2021. It is now read-only.

Commit 6e712a5

Browse files
committed
Fix for Location constructor leaving ')' in userId.
1 parent 2325c10 commit 6e712a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vrcpy/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ def __init__(self, client, location):
494494

495495
if "~" in location:
496496
self.name, t, nonce = location.split("~")
497-
self.type, self.userId = t.split("(")
497+
self.type, self.userId = t[:-1].split("(")
498498
self.nonce = nonce.split("(")[1][:-1]
499499
else:
500500
self.name = location

0 commit comments

Comments
 (0)