From 095d457ee822e8965b63ab9fd226e26a5f7128a5 Mon Sep 17 00:00:00 2001 From: stack Date: Sun, 8 Jul 2012 18:13:31 +0200 Subject: [PATCH] corrected profile list generation Profiles generation at runtime was picking up a nonexistant attribute (self. was missing) --- profhandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profhandler.py b/profhandler.py index 2e1a30d..d0e16f2 100755 --- a/profhandler.py +++ b/profhandler.py @@ -63,7 +63,7 @@ class ProfHandler(): """ Generate and returns the profiles it assumes that self.pdir is defined """ #this is generated every time to handle the case of the user renaming the directories by hand - return [os.path.join(self.pdir, f) for f in os.listdir(pdir)] + return [os.path.join(self.pdir, f) for f in os.listdir(self.pdir)] def getProfileFolder(self): """ Generates, in a os dependant way, the local folder where all profiles are stored """ -- 2.20.1