Skip to content

Commit

Permalink
e-DASH-mail
Browse files Browse the repository at this point in the history
  • Loading branch information
Ted committed Dec 26, 2019
1 parent 1f88b12 commit 33d5bd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enpass-to-keepass.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def processItem(item, folders):

for field in item.get('fields', []):
if field['label'] in result or field['label'].lower() not in ALLOWED_FIELDS:
if field['label'].lower() == 'email':
if field['label'].lower() == 'e-mail':
email = field['value']
continue

Expand All @@ -74,7 +74,7 @@ def processItem(item, folders):
if not username and email:
result['username'] = email
else:
result['notes'] += "Email\n" + email
result['notes'] += "E-mail\n" + email

return result

Expand Down

0 comments on commit 33d5bd2

Please sign in to comment.