fix pylint issues based on commit relevant to Search bar
This commit is contained in:
parent
61aa874f09
commit
ef21351486
|
@ -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)
|
||||
|
||||
|
|
Reference in New Issue
Block a user