From 55ab39675864ee2c586235a7218dcc5624c4276d Mon Sep 17 00:00:00 2001 From: Martin Simon Date: Mon, 23 Mar 2015 20:10:51 +0100 Subject: [PATCH] use 'inp' instead of 'input' --- hazelnut/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hazelnut/core.py b/hazelnut/core.py index 773d227..be10321 100644 --- a/hazelnut/core.py +++ b/hazelnut/core.py @@ -29,9 +29,9 @@ def dict(self): d = dict(x.strip().split(None, 1) for x in f) return d - def search(self, input): + def search(self, inp): with open(self.get_path(), 'r') as f: - match = [s for s in f if input in s] + match = [s for s in f if inp in s] # will have to figure out a way to make this case insensitive. # mem.search('Swap') and mem.search('swap') should both match. return match