Skip to content

Commit 55ab396

Browse files
committed
use 'inp' instead of 'input'
1 parent ef9fa95 commit 55ab396

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hazelnut/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ def dict(self):
2929
d = dict(x.strip().split(None, 1) for x in f)
3030
return d
3131

32-
def search(self, input):
32+
def search(self, inp):
3333
with open(self.get_path(), 'r') as f:
34-
match = [s for s in f if input in s]
34+
match = [s for s in f if inp in s]
3535
# will have to figure out a way to make this case insensitive.
3636
# mem.search('Swap') and mem.search('swap') should both match.
3737
return match

0 commit comments

Comments
 (0)