Skip to content

Commit

Permalink
fix(bitwarden): add more check on url format as they can be custom fi…
Browse files Browse the repository at this point in the history
…eld.

fix: #213
  • Loading branch information
roddhjav committed Feb 26, 2024
1 parent c634663 commit a0cbaaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pass_import/managers/bitwarden.py
Expand Up @@ -113,7 +113,7 @@ def parse(self):
entry[keys.get(key, key)] = value

urls = entry.get('url')
if urls:
if urls and isinstance(urls, list) and urls[0]:
entry['url'] = urls[0]['uri']

if len(urls) > 1:
Expand Down

0 comments on commit a0cbaaf

Please sign in to comment.