fix: support item without username
This commit is contained in:
parent
34963ddca2
commit
c4c7e0da4a
1 changed files with 4 additions and 1 deletions
|
|
@ -125,7 +125,10 @@ class RougailUserDataBitwarden:
|
|||
for item in items:
|
||||
#if item.count('@') != 1:
|
||||
# continue
|
||||
keys.append(item.split('@', 1)[-1])
|
||||
if "@" in item:
|
||||
keys.append(item.split('@', 1)[-1])
|
||||
else:
|
||||
keys.append(item.rsplit('/', 1)[-1])
|
||||
if not allow_multiple:
|
||||
if not items:
|
||||
return []
|
||||
|
|
|
|||
Loading…
Reference in a new issue