Skip to content

Commit

Permalink
utils.show_edit: Accept empty email addresses.
Browse files Browse the repository at this point in the history
  • Loading branch information
YtvwlD committed Sep 13, 2017
1 parent 357272a commit 09158d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions metecli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ def show_edit(dict, key, prompt, type):
if "@" in given:
new_value = given
break
elif not given: # empty address
new_value = given
break
else:
print("This is not a valid email adress.")
continue
Expand Down

0 comments on commit 09158d5

Please sign in to comment.