diff --git a/lock.go b/lock.go index 33a6ecda..9e0a8df0 100644 --- a/lock.go +++ b/lock.go @@ -35,7 +35,7 @@ func NewLock(c *Conn, path string, acl []ACL) *Lock { } func parseSeq(path string) (int, error) { - parts := strings.Split(path, "-") + parts := strings.Split(path, "lock-") // python client uses a __LOCK__ prefix if len(parts) == 1 { parts = strings.Split(path, "__")