Compare commits

...

2 commits

3 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,9 @@
## 0.1.0a15 (2025-03-19)
### Fix
- support item without username
## 0.1.0a14 (2025-03-19) ## 0.1.0a14 (2025-03-19)
### Feat ### Feat

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project] [project]
name = "rougail.user_data_bitwarden" name = "rougail.user_data_bitwarden"
version = "0.1.0a14" version = "0.1.0a15"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}] authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md" readme = "README.md"
description = "Rougail user_data Bitwarden" description = "Rougail user_data Bitwarden"

View file

@ -125,7 +125,10 @@ class RougailUserDataBitwarden:
for item in items: for item in items:
#if item.count('@') != 1: #if item.count('@') != 1:
# continue # continue
if "@" in item:
keys.append(item.split('@', 1)[-1]) keys.append(item.split('@', 1)[-1])
else:
keys.append(item.rsplit('/', 1)[-1])
if not allow_multiple: if not allow_multiple:
if not items: if not items:
return [] return []