Fixing error introduced in find_config

This commit is contained in:
Salvatore Orlando 2011-07-05 11:27:12 +01:00
parent a975ec6451
commit 040cba6562
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ CONFIG_FILE = "plugins.ini"
def find_config(basepath):
for root, files in os.walk(basepath):
for root, dirs, files in os.walk(basepath):
if CONFIG_FILE in files:
return os.path.join(root, CONFIG_FILE)
return None