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

Commit 9b61203

Browse files
authored
Merge pull request #15 from ShingenPizza/location_user_id
Fix for Location constructor leaving ')' in userId.
2 parents d516e36 + 6e712a5 commit 9b61203

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)