mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 02:30:44 -06:00
fix: stop at id match
This commit is contained in:
parent
570793870c
commit
d26c0b1d53
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ from typing import (
|
|||
from urllib.error import HTTPError
|
||||
from urllib.request import urlopen
|
||||
|
||||
__version__ = "23.8a2"
|
||||
__version__ = "23.8a2-1-g5707938-dev"
|
||||
|
||||
|
||||
class Spinner:
|
||||
|
@ -1263,7 +1263,7 @@ class Viv:
|
|||
for k, v in self.vivenvs.items():
|
||||
if name_id == v.meta.id:
|
||||
matches.append(v)
|
||||
if name_id == k or v.name == name_id:
|
||||
elif name_id == k or v.name == name_id:
|
||||
matches.append(v)
|
||||
elif k.startswith(name_id) or (
|
||||
v.meta.id.startswith(name_id) and v.meta.id == v.name
|
||||
|
|
Loading…
Reference in a new issue