From c07db99e65867e54fae59eabd64e9281956fe2b6 Mon Sep 17 00:00:00 2001 From: Pavlos Ratis Date: Sat, 1 Mar 2014 16:45:32 +0200 Subject: [PATCH] rename filename var since it is removed from func args --- gkeys/actions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gkeys/actions.py b/gkeys/actions.py index 25013b3..8d381db 100644 --- a/gkeys/actions.py +++ b/gkeys/actions.py @@ -39,10 +39,10 @@ class Actions(object): if not seeds and not seedfile: self.logger.error("ACTIONS: load_seeds; no filename to load: " "setting = %s. Please use the -s option to indicate: which seed " - "file to use." % filename) + "file to use." % seedfile) return None if seeds: - filepath = self.config.get_key(filename + "-seedfile") + filepath = self.config.get_key(seeds + "-seedfile") elif seedfile: filepath = os.path.join(self.config.get_key('seedsdir'), '%s.seeds' % seedfile) -- 2.26.2