From e20b437b6ceef1fdcd52b44e21b5b5db57185e79 Mon Sep 17 00:00:00 2001 From: surbhi Date: Wed, 5 Sep 2018 19:48:57 +0530 Subject: [PATCH] fix pylint issues based on commit relevant to Search bar --- src/bitmessagekivy/mpybit.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bitmessagekivy/mpybit.py b/src/bitmessagekivy/mpybit.py index 1d4f7178..28321e01 100644 --- a/src/bitmessagekivy/mpybit.py +++ b/src/bitmessagekivy/mpybit.py @@ -407,11 +407,15 @@ class NewIdentity(Screen): class SearchBar(TextInput, ActionItem): + """Create SearchBar for PyBitmessage.""" + def __init__(self, *args, **kwargs): + """Initailizes SearchBar with hint text.""" super(SearchBar, self).__init__(*args, **kwargs) self.hint_text = 'Search' def search(self): + """Search for message request.""" request = self.text return str(request)