diff --git a/method/tags.py b/method/tags.py index 6355205..9921e6c 100644 --- a/method/tags.py +++ b/method/tags.py @@ -63,11 +63,14 @@ class FindTag(TagBase): h='Search for a tag')] def _execute(self, w, **vargs): tag = vargs['tag'] + if not tag: + return + b = w.buffer a = w.application base, m = self._setup(w, vargs) - if base is None: + if not base: return records = m.get(tag)