Skip to content

Commit

Permalink
Don't type value from view entry if it is None
Browse files Browse the repository at this point in the history
  • Loading branch information
firecat53 committed Dec 13, 2021
1 parent d461744 commit d6eeb42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keepmenu/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def view_entry(kp_entry):
if sel != "URL: None":
webbrowser.open(sel)
sel = ""
return sel
return sel if not sel.endswith(": None") else ""


def view_notes(notes):
Expand Down

0 comments on commit d6eeb42

Please sign in to comment.