Browse Source

do not try to parse lines which do not conform to the browserpass format

main
Franzi 3 months ago
parent
commit
54062d3a94
Signed by: kunsi GPG Key ID: 12E3D2136B818350
  1. 3
      bwpass.py

3
bwpass.py

@ -53,6 +53,9 @@ def _get_contents_from_pass(identifier: str):
if len(pass_output) > 1:
for line in pass_output[1:]:
if not ':' in line:
continue
attr, value = line.split(':', 1)
cache[identifier]['attrs'][attr] = value.strip()

Loading…
Cancel
Save