fix pylint issues based on commit relevant to Search bar
This commit is contained in:
parent
2625d342a9
commit
e20b437b6c
|
@ -407,11 +407,15 @@ class NewIdentity(Screen):
|
||||||
|
|
||||||
|
|
||||||
class SearchBar(TextInput, ActionItem):
|
class SearchBar(TextInput, ActionItem):
|
||||||
|
"""Create SearchBar for PyBitmessage."""
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
|
"""Initailizes SearchBar with hint text."""
|
||||||
super(SearchBar, self).__init__(*args, **kwargs)
|
super(SearchBar, self).__init__(*args, **kwargs)
|
||||||
self.hint_text = 'Search'
|
self.hint_text = 'Search'
|
||||||
|
|
||||||
def search(self):
|
def search(self):
|
||||||
|
"""Search for message request."""
|
||||||
request = self.text
|
request = self.text
|
||||||
return str(request)
|
return str(request)
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user